import{_ as a,c as r,o as e,a4 as l}from"./chunks/framework.DpC1ZpOZ.js";const h=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":"zh/api/mp_math/mp_math_typing.md","lastUpdated":null}'),n={name:"api/mp_math/mp_math_typing.md"},o=l('

mbcp.mp_math.mp_math_typing

说明: 本模块用于内部类型提示

var RealNumber = int | float

var Number = RealNumber | complex

var SingleVar = TypeVar('SingleVar', bound=Number)

var ArrayVar = TypeVar('ArrayVar', bound=Iterable[Number])

var Var = SingleVar | ArrayVar

var OneSingleVarFunc = Callable[[SingleVar], SingleVar]

var OneArrayFunc = Callable[[ArrayVar], ArrayVar]

var OneVarFunc = OneSingleVarFunc | OneArrayFunc

var TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]

var TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]

var TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc

var ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]

var ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]

var ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc

var MultiSingleVarsFunc = Callable[..., SingleVar]

var MultiArraysFunc = Callable[..., ArrayVar]

var MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc

',36),i=[o];function c(t,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",c]]);export{h as __pageData,y as default};