mbcp/docs/api/mp_math/mp_math_typing.md

64 lines
1.4 KiB
Markdown
Raw Normal View History

2024-08-28 10:52:17 +08:00
---
2024-08-28 12:02:30 +08:00
title: mbcp.mp_math.mp_math_typing
2024-08-28 10:52:17 +08:00
---
### ***var*** `RealNumber = int | float`
2024-08-28 12:02:30 +08:00
- **类型**: `TypeAlias`
2024-08-28 10:52:17 +08:00
### ***var*** `Number = RealNumber | complex`
2024-08-28 10:52:17 +08:00
- **类型**: `TypeAlias`
2024-08-28 10:52:17 +08:00
### ***var*** `Var = SingleVar | ArrayVar`
2024-08-28 10:52:17 +08:00
- **类型**: `TypeAlias`
2024-08-28 12:02:30 +08:00
### ***var*** `OneSingleVarFunc = Callable[[SingleVar], SingleVar]`
2024-08-28 12:02:30 +08:00
- **类型**: `TypeAlias`
2024-08-28 12:02:30 +08:00
### ***var*** `OneArrayFunc = Callable[[ArrayVar], ArrayVar]`
2024-08-28 12:02:30 +08:00
- **类型**: `TypeAlias`
2024-08-28 12:02:30 +08:00
### ***var*** `OneVarFunc = OneSingleVarFunc | OneArrayFunc`
2024-08-28 12:02:30 +08:00
- **类型**: `TypeAlias`
2024-08-28 12:02:30 +08:00
### ***var*** `TwoSingleVarsFunc = Callable[[SingleVar, SingleVar], SingleVar]`
2024-08-28 12:02:30 +08:00
- **类型**: `TypeAlias`
2024-08-28 12:02:30 +08:00
### ***var*** `TwoArraysFunc = Callable[[ArrayVar, ArrayVar], ArrayVar]`
2024-08-28 10:52:17 +08:00
- **类型**: `TypeAlias`
2024-08-28 10:52:17 +08:00
### ***var*** `TwoVarsFunc = TwoSingleVarsFunc | TwoArraysFunc`
- **类型**: `TypeAlias`
### ***var*** `ThreeSingleVarsFunc = Callable[[SingleVar, SingleVar, SingleVar], SingleVar]`
- **类型**: `TypeAlias`
### ***var*** `ThreeArraysFunc = Callable[[ArrayVar, ArrayVar, ArrayVar], ArrayVar]`
- **类型**: `TypeAlias`
### ***var*** `ThreeVarsFunc = ThreeSingleVarsFunc | ThreeArraysFunc`
- **类型**: `TypeAlias`
### ***var*** `MultiSingleVarsFunc = Callable[..., SingleVar]`
- **类型**: `TypeAlias`
### ***var*** `MultiArraysFunc = Callable[..., ArrayVar]`
- **类型**: `TypeAlias`
### ***var*** `MultiVarsFunc = MultiSingleVarsFunc | MultiArraysFunc`
- **类型**: `TypeAlias`
2024-08-28 10:52:17 +08:00