External module "src/util"
Type aliases
MatrixOrNumber
Matrix
OrNumber: Matrix | number
Functions
as_mat_or_scalar
-
Parameters
Returns Matrix
|
number
calc_zeros_size
- calc_zeros_size(args: any[]): object
-
Parameters
Returns object
-
klass: string
-
size: number[]
commonklass
-
Parameters
Returns string
commonklassstr
- commonklassstr(...klasses: string[]): string
-
Parameters
-
Rest ...klasses: string[]
Returns string
issamesize
- issamesize(sizea: number[], sizeb: number[]): boolean
-
Parameters
-
sizea: number[]
-
sizeb: number[]
Returns boolean
jsaequal
- jsaequal(a: any[], b: any[]): boolean
-
Parameters
Returns boolean
Convert array-like to Matrix, number to 1x1 Matrix