mbcp/assets/api_mp_math_mp_math_typing.md.bdiOSvFy.js

2 lines
7.4 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 &quot;mbcp.mp_math.mp_math_typing&quot;"></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 &quot;var `RealNumber`&quot;"></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 &quot;var `Number`&quot;"></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 &quot;var `SingleVar`&quot;"></a></h3><ul><li><p><strong>说明</strong>: 单变量</p></li><li><p><strong>默认值</strong>: <code>TypeVar(&#39;SingleVar&#39;, 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 &quot;var `ArrayVar`&quot;"></a></h3><ul><li><p><strong>说明</strong>: 数组变量</p></li><li><p><strong>默认值</strong>: <code>TypeVar(&#39;ArrayVar&#39;, 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 &quot;var `Var`&quot;"></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 &quot;var `OneSingleVarFunc`&quot;"></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 &quot;var `OneArrayFunc`&quot;"></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 &quot;var `OneVarFunc`&quot;"></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 &quot;var `TwoSingleVarsFunc`&quot;"></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 &quot;var `TwoArraysFunc`&quot;"></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 &quot;var `TwoVarsFunc`&quot;"></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 &quot;var `ThreeSingleVarsFunc`&quot;"></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 &quot;var `ThreeArraysFunc`&quot;"></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 &quot;var `ThreeVarsFunc`&quot;"></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 &quot;var `MultiSingleVarsFunc`&quot;"></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 &quot;var `MultiArraysFunc`&quot;"></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 &quot;var `MultiVarsFunc`&quot;"></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};