mbcp/assets/api_mp_math_mp_math_typing.md.D0jHaHho.js

2 lines
7.5 KiB
JavaScript
Raw Permalink 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"><strong>模块</strong> <code>mbcp.mp_math.mp_math_typing</code> <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], S