mbcp/assets/api_mp_math_mp_math_typing.md.DlnJmkos.js

2 lines
8.4 KiB
JavaScript
Raw Normal View History

import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.C94oF1kp.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing","editLink":false},"headers":[],"relativePath":"api/mp_math/mp_math_typing.md","filePath":"zh/api/mp_math/mp_math_typing.md"}'),n={name:"api/mp_math/mp_math_typing.md"},o=l('<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-int-float" tabindex="-1">var <code>RealNumber</code> = <code>int | float</code> <a class="header-anchor" href="#var-realnumber-int-float" aria-label="Permalink to &quot;var `RealNumber` = `int | float`&quot;"></a></h3><ul><li><p><strong></strong>: <code>TypeAlias</code></p></li><li><p><strong></strong>: </p></li></ul><h3 id="var-number-realnumber-complex" tabindex="-1">var <code>Number</code> = <code>RealNumber | complex</code> <a class="header-anchor" href="#var-number-realnumber-complex" aria-label="Permalink to &quot;var `Number` = `RealNumber | complex`&quot;"></a></h3><ul><li><p><strong></strong>: <code>TypeAlias</code></p></li><li><p><strong></strong>: </p></li></ul><h3 id="var-singlevar-typevar-singlevar-bound-number" tabindex="-1">var <code>SingleVar</code> = <code>TypeVar(&#39;SingleVar&#39;, bound=Number)</code> <a class="header-anchor" href="#var-singlevar-typevar-singlevar-bound-number" aria-label="Permalink to &quot;var `SingleVar` = `TypeVar(&#39;SingleVar&#39;, bound=Number)`&quot;"></a></h3><ul><li><strong></strong>: </li></ul><h3 id="var-arrayvar-typevar-arrayvar-bound-iterable-number" tabindex="-1">var <code>ArrayVar</code> = <code>TypeVar(&#39;ArrayVar&#39;, bound=Iterable[Number])</code> <a class="header-anchor" href="#var-arrayvar-typevar-arrayvar-bound-iterable-number" aria-label="Permalink to &quot;var `ArrayVar` = `TypeVar(&#39;ArrayVar&#39;, bound=Iterable[Number])`&quot;"></a></h3><ul><li><strong></strong>: </li></ul><h3 id="var-var-singlevar-arrayvar" tabindex="-1">var <code>Var</code> = <code>SingleVar | ArrayVar</code> <a class="header-anchor" href="#var-var-singlevar-arrayvar" aria-label="Permalink to &quot;var `Var` = `SingleVar | ArrayVar`&quot;"></a></h3><ul><li><p><strong></strong>: <code>TypeAlias</code></p></li><li><p><strong></strong>: </p></li></ul><h3 id="var-onesinglevarfunc-callable-singlevar-singlevar" tabindex="-1">var <code>OneSingleVarFunc</code> = <code>Callable[[SingleVar], SingleVar]</code> <a class="header-anchor" href="#var-onesinglevarfunc-callable-singlevar-singlevar" aria-label="Permalink to &quot;var `OneSingleVarFunc` = `Callable[[SingleVar], SingleVar]`&quot;"></a></h3><ul><li><p><strong></strong>: <code>TypeAlias</code></p></li><li><p><strong></strong>: </p></li></ul><h3 id="var-onearrayfunc-callable-arrayvar-arrayvar" tabindex="-1">var <code>OneArrayFunc</code> = <code>Callable[[ArrayVar], ArrayVar]</code> <a class="header-anchor" href="#var-onearrayfunc-callable-arrayvar-arrayvar" aria-label="Permalink to &quot;var `OneArrayFunc` = `Callable[[ArrayVar], ArrayVar]`&quot;"></a></h3><ul><li><p><strong></strong>: <code>TypeAlias</code></p></li><li><p><strong></strong>: </p></li></ul><h3 id="var-onevarfunc-onesinglevarfunc-onearrayfunc" tabindex="-1">var <code>OneVarFunc</code> = <code>OneSingleVarFunc | OneArrayFunc</code> <a class="header-anchor" href="#var-onevarfunc-onesinglevarfunc-onearrayfunc" aria-label="Permalink to &quot;var `OneVarFunc` = `OneSingleVarFunc | OneArrayFunc`&quot;"></a></h3><ul><li><p><strong></strong>: <code>TypeAlias</code></p></li><li><p><strong></strong>: </p></li></ul><h3 id="var-twosinglevarsfunc-callable-singlevar-singlevar-singlevar" tabindex="-1">var <code>TwoSingleVarsFunc<