mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-26 08:15:03 +08:00
2 lines
7.4 KiB
JavaScript
2 lines
7.4 KiB
JavaScript
import{_ as a,c as r,o as e,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const v=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/mp_math_typing.md","filePath":"zh/api/mp_math/mp_math_typing.md"}'),l={name:"api/mp_math/mp_math_typing.md"},n=o('<h1 id="mbcp-mp-math-mp-math-typing" tabindex="-1">mbcp.mp_math.mp_math_typing <a class="header-anchor" href="#mbcp-mp-math-mp-math-typing" aria-label="Permalink to "mbcp.mp_math.mp_math_typing""></a></h1><p>本模块用于内部类型提示</p><h3 id="var-realnumber" tabindex="-1">var <code>RealNumber</code> <a class="header-anchor" href="#var-realnumber" aria-label="Permalink to "var `RealNumber`""></a></h3><ul><li><p><strong>说明</strong>: 实数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>int | float</code></p></li></ul><h3 id="var-number" tabindex="-1">var <code>Number</code> <a class="header-anchor" href="#var-number" aria-label="Permalink to "var `Number`""></a></h3><ul><li><p><strong>说明</strong>: 数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>RealNumber | complex</code></p></li></ul><h3 id="var-singlevar" tabindex="-1">var <code>SingleVar</code> <a class="header-anchor" href="#var-singlevar" aria-label="Permalink to "var `SingleVar`""></a></h3><ul><li><p><strong>说明</strong>: 单变量</p></li><li><p><strong>默认值</strong>: <code>TypeVar('SingleVar', bound=Number)</code></p></li></ul><h3 id="var-arrayvar" tabindex="-1">var <code>ArrayVar</code> <a class="header-anchor" href="#var-arrayvar" aria-label="Permalink to "var `ArrayVar`""></a></h3><ul><li><p><strong>说明</strong>: 数组变量</p></li><li><p><strong>默认值</strong>: <code>TypeVar('ArrayVar', bound=Iterable[Number])</code></p></li></ul><h3 id="var-var" tabindex="-1">var <code>Var</code> <a class="header-anchor" href="#var-var" aria-label="Permalink to "var `Var`""></a></h3><ul><li><p><strong>说明</strong>: 变量</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>SingleVar | ArrayVar</code></p></li></ul><h3 id="var-onesinglevarfunc" tabindex="-1">var <code>OneSingleVarFunc</code> <a class="header-anchor" href="#var-onesinglevarfunc" aria-label="Permalink to "var `OneSingleVarFunc`""></a></h3><ul><li><p><strong>说明</strong>: 一元单变量函数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>Callable[[SingleVar], SingleVar]</code></p></li></ul><h3 id="var-onearrayfunc" tabindex="-1">var <code>OneArrayFunc</code> <a class="header-anchor" href="#var-onearrayfunc" aria-label="Permalink to "var `OneArrayFunc`""></a></h3><ul><li><p><strong>说明</strong>: 一元数组函数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>Callable[[ArrayVar], ArrayVar]</code></p></li></ul><h3 id="var-onevarfunc" tabindex="-1">var <code>OneVarFunc</code> <a class="header-anchor" href="#var-onevarfunc" aria-label="Permalink to "var `OneVarFunc`""></a></h3><ul><li><p><strong>说明</strong>: 一元函数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>OneSingleVarFunc | OneArrayFunc</code></p></li></ul><h3 id="var-twosinglevarsfunc" tabindex="-1">var <code>TwoSingleVarsFunc</code> <a class="header-anchor" href="#var-twosinglevarsfunc" aria-label="Permalink to "var `TwoSingleVarsFunc`""></a></h3><ul><li><p><strong>说明</strong>: 二元单变量函数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>Callable[[SingleVar, SingleVar], SingleVar]</code></p></li></ul><h3 id="var-twoarraysfunc" tabindex="-1">var <code>TwoArraysFunc</code> <a class="header-anchor" href="#var-twoarraysfunc" aria-label="Permalink to "var `TwoArraysFunc`""></a></h3><ul><li><p><strong>说明</strong>: 二元数组函数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>Callable[[ArrayVar, ArrayVar], ArrayVar]</code></p></li></ul><h3 id="var-twovarsfunc" tabindex="-1">var <code>TwoVarsFunc</code> <a class="header-anchor" href="#var-twovarsfunc" aria-label="Permalink to "var `TwoVarsFunc`""></a></h3><ul><li><p><strong>说明</strong>: 二元函数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>TwoSingleVarsFunc | TwoArraysFunc</code></p></li></ul><h3 id="var-threesinglevarsfunc" tabindex="-1">var <code>ThreeSingleVarsFunc</code> <a class="header-anchor" href="#var-threesinglevarsfunc" aria-label="Permalink to "var `ThreeSingleVarsFunc`""></a></h3><ul><li><p><strong>说明</strong>: 三元单变量函数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>Callable[[SingleVar, SingleVar, SingleVar], SingleVar]</code></p></li></ul><h3 id="var-threearraysfunc" tabindex="-1">var <code>ThreeArraysFunc</code> <a class="header-anchor" href="#var-threearraysfunc" aria-label="Permalink to "var `ThreeArraysFunc`""></a></h3><ul><li><p><strong>说明</strong>: 三元数组函数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]</code></p></li></ul><h3 id="var-threevarsfunc" tabindex="-1">var <code>ThreeVarsFunc</code> <a class="header-anchor" href="#var-threevarsfunc" aria-label="Permalink to "var `ThreeVarsFunc`""></a></h3><ul><li><p><strong>说明</strong>: 三元函数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>ThreeSingleVarsFunc | ThreeArraysFunc</code></p></li></ul><h3 id="var-multisinglevarsfunc" tabindex="-1">var <code>MultiSingleVarsFunc</code> <a class="header-anchor" href="#var-multisinglevarsfunc" aria-label="Permalink to "var `MultiSingleVarsFunc`""></a></h3><ul><li><p><strong>说明</strong>: 多元单变量函数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>Callable[..., SingleVar]</code></p></li></ul><h3 id="var-multiarraysfunc" tabindex="-1">var <code>MultiArraysFunc</code> <a class="header-anchor" href="#var-multiarraysfunc" aria-label="Permalink to "var `MultiArraysFunc`""></a></h3><ul><li><p><strong>说明</strong>: 多元数组函数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>Callable[..., ArrayVar]</code></p></li></ul><h3 id="var-multivarsfunc" tabindex="-1">var <code>MultiVarsFunc</code> <a class="header-anchor" href="#var-multivarsfunc" aria-label="Permalink to "var `MultiVarsFunc`""></a></h3><ul><li><p><strong>说明</strong>: 多元函数</p></li><li><p><strong>类型</strong>: <code>TypeAlias</code></p></li><li><p><strong>默认值</strong>: <code>MultiSingleVarsFunc | MultiArraysFunc</code></p></li></ul>',36),t=[n];function i(s,c,d,p,u,g){return e(),r("div",null,t)}const m=a(l,[["render",i]]);export{v as __pageData,m as default};
|