mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-27 00:35:04 +08:00
2 lines
7.0 KiB
JavaScript
2 lines
7.0 KiB
JavaScript
import{_ as a,c as r,o as e,a2 as l}from"./chunks/framework.BV61Qrc0.js";const m=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing"},"headers":[],"relativePath":"api/mp_math/mp_math_typing.md","filePath":"api/mp_math/mp_math_typing.md"}'),n={name:"api/mp_math/mp_math_typing.md"},i=l('<h3 id="var-realnumber-typealias-int-float" tabindex="-1"><em><strong>var</strong></em> <code>RealNumber: TypeAlias = int | float</code> <a class="header-anchor" href="#var-realnumber-typealias-int-float" aria-label="Permalink to "***var*** `RealNumber: TypeAlias = int | float`""></a></h3><h3 id="var-number-typealias-realnumber-complex" tabindex="-1"><em><strong>var</strong></em> <code>Number: TypeAlias = RealNumber | complex</code> <a class="header-anchor" href="#var-number-typealias-realnumber-complex" aria-label="Permalink to "***var*** `Number: TypeAlias = RealNumber | complex`""></a></h3><h3 id="var-singlevar-typevar-singlevar-bound-number" tabindex="-1"><em><strong>var</strong></em> <code>SingleVar = TypeVar('SingleVar', bound=Number)</code> <a class="header-anchor" href="#var-singlevar-typevar-singlevar-bound-number" aria-label="Permalink to "***var*** `SingleVar = TypeVar('SingleVar', bound=Number)`""></a></h3><h3 id="var-arrayvar-typevar-arrayvar-bound-iterable-number" tabindex="-1"><em><strong>var</strong></em> <code>ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])</code> <a class="header-anchor" href="#var-arrayvar-typevar-arrayvar-bound-iterable-number" aria-label="Permalink to "***var*** `ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])`""></a></h3><h3 id="var-var-typealias-singlevar-arrayvar" tabindex="-1"><em><strong>var</strong></em> <code>Var: TypeAlias = SingleVar | ArrayVar</code> <a class="header-anchor" href="#var-var-typealias-singlevar-arrayvar" aria-label="Permalink to "***var*** `Var: TypeAlias = SingleVar | ArrayVar`""></a></h3><h3 id="var-onesinglevarfunc-typealias-callable-singlevar-singlevar" tabindex="-1"><em><strong>var</strong></em> <code>OneSingleVarFunc: TypeAlias = Callable[[SingleVar], SingleVar]</code> <a class="header-anchor" href="#var-onesinglevarfunc-typealias-callable-singlevar-singlevar" aria-label="Permalink to "***var*** `OneSingleVarFunc: TypeAlias = Callable[[SingleVar], SingleVar]`""></a></h3><h3 id="var-onearrayfunc-typealias-callable-arrayvar-arrayvar" tabindex="-1"><em><strong>var</strong></em> <code>OneArrayFunc: TypeAlias = Callable[[ArrayVar], ArrayVar]</code> <a class="header-anchor" href="#var-onearrayfunc-typealias-callable-arrayvar-arrayvar" aria-label="Permalink to "***var*** `OneArrayFunc: TypeAlias = Callable[[ArrayVar], ArrayVar]`""></a></h3><h3 id="var-onevarfunc-typealias-onesinglevarfunc-onearrayfunc" tabindex="-1"><em><strong>var</strong></em> <code>OneVarFunc: TypeAlias = OneSingleVarFunc | OneArrayFunc</code> <a class="header-anchor" href="#var-onevarfunc-typealias-onesinglevarfunc-onearrayfunc" aria-label="Permalink to "***var*** `OneVarFunc: TypeAlias = OneSingleVarFunc | OneArrayFunc`""></a></h3><h3 id="var-twosinglevarsfunc-typealias-callable-singlevar-singlevar-singlevar" tabindex="-1"><em><strong>var</strong></em> <code>TwoSingleVarsFunc: TypeAlias = Callable[[SingleVar, SingleVar], SingleVar]</code> <a class="header-anchor" href="#var-twosinglevarsfunc-typealias-callable-singlevar-singlevar-singlevar" aria-label="Permalink to "***var*** `TwoSingleVarsFunc: TypeAlias = Callable[[SingleVar, SingleVar], SingleVar]`""></a></h3><h3 id="var-twoarraysfunc-typealias-callable-arrayvar-arrayvar-arrayvar" tabindex="-1"><em><strong>var</strong></em> <code>TwoArraysFunc: TypeAlias = Callable[[ArrayVar, ArrayVar], ArrayVar]</code> <a class="header-anchor" href="#var-twoarraysfunc-typealias-callable-arrayvar-arrayvar-arrayvar" aria-label="Permalink to "***var*** `TwoArraysFunc: TypeAlias = Callable[[ArrayVar, ArrayVar], ArrayVar]`""></a></h3><h3 id="var-twovarsfunc-typealias-twosinglevarsfunc-twoarraysfunc" tabindex="-1"><em><strong>var</strong></em> <code>TwoVarsFunc: TypeAlias = TwoSingleVarsFunc | TwoArraysFunc</code> <a class="header-anchor" href="#var-twovarsfunc-typealias-twosinglevarsfunc-twoarraysfunc" aria-label="Permalink to "***var*** `TwoVarsFunc: TypeAlias = TwoSingleVarsFunc | TwoArraysFunc`""></a></h3><h3 id="var-threesinglevarsfunc-typealias-callable-singlevar-singlevar-singlevar-singlevar" tabindex="-1"><em><strong>var</strong></em> <code>ThreeSingleVarsFunc: TypeAlias = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]</code> <a class="header-anchor" href="#var-threesinglevarsfunc-typealias-callable-singlevar-singlevar-singlevar-singlevar" aria-label="Permalink to "***var*** `ThreeSingleVarsFunc: TypeAlias = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]`""></a></h3><h3 id="var-threearraysfunc-typealias-callable-arrayvar-arrayvar-arrayvar-arrayvar" tabindex="-1"><em><strong>var</strong></em> <code>ThreeArraysFunc: TypeAlias = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]</code> <a class="header-anchor" href="#var-threearraysfunc-typealias-callable-arrayvar-arrayvar-arrayvar-arrayvar" aria-label="Permalink to "***var*** `ThreeArraysFunc: TypeAlias = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]`""></a></h3><h3 id="var-threevarsfunc-typealias-threesinglevarsfunc-threearraysfunc" tabindex="-1"><em><strong>var</strong></em> <code>ThreeVarsFunc: TypeAlias = ThreeSingleVarsFunc | ThreeArraysFunc</code> <a class="header-anchor" href="#var-threevarsfunc-typealias-threesinglevarsfunc-threearraysfunc" aria-label="Permalink to "***var*** `ThreeVarsFunc: TypeAlias = ThreeSingleVarsFunc | ThreeArraysFunc`""></a></h3><h3 id="var-multisinglevarsfunc-typealias-callable-singlevar" tabindex="-1"><em><strong>var</strong></em> <code>MultiSingleVarsFunc: TypeAlias = Callable[..., SingleVar]</code> <a class="header-anchor" href="#var-multisinglevarsfunc-typealias-callable-singlevar" aria-label="Permalink to "***var*** `MultiSingleVarsFunc: TypeAlias = Callable[..., SingleVar]`""></a></h3><h3 id="var-multiarraysfunc-typealias-callable-arrayvar" tabindex="-1"><em><strong>var</strong></em> <code>MultiArraysFunc: TypeAlias = Callable[..., ArrayVar]</code> <a class="header-anchor" href="#var-multiarraysfunc-typealias-callable-arrayvar" aria-label="Permalink to "***var*** `MultiArraysFunc: TypeAlias = Callable[..., ArrayVar]`""></a></h3><h3 id="var-multivarsfunc-typealias-multisinglevarsfunc-multiarraysfunc" tabindex="-1"><em><strong>var</strong></em> <code>MultiVarsFunc: TypeAlias = MultiSingleVarsFunc | MultiArraysFunc</code> <a class="header-anchor" href="#var-multivarsfunc-typealias-multisinglevarsfunc-multiarraysfunc" aria-label="Permalink to "***var*** `MultiVarsFunc: TypeAlias = MultiSingleVarsFunc | MultiArraysFunc`""></a></h3>',17),s=[i];function t(o,c,u,y,v,g){return e(),r("div",null,s)}const d=a(n,[["render",t]]);export{m as __pageData,d as default};
|