mbcp/assets/api_mp_math_mp_math_typing.md.CEryCREV.js

2 lines
7.4 KiB
JavaScript
Raw Normal View History

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><strong></strong>: </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="v