Number of columns of the matrix.
Dimension of the matrix.
Number of all elements in the matrix.
Number of rows of the matrix.
Sizes of the matrix.
Returns a bidiagonal matrix by Householder method.
Optional
return_uv: falseReturns orthogonal matrixes
Bidiagonal matrix, or Bidiagonal matrix and orthogonal matrixes
Returns a bidiagonal matrix by Householder method.
Returns orthogonal matrixes
Bidiagonal matrix, or Bidiagonal matrix and orthogonal matrixes
Returns the sub-matrix corresponding to position.
Optional
rows_from: numberStart row index
Optional
cols_from: numberStart column index
Optional
rows_to: numberEnd row index(exclusive)
Optional
cols_to: numberEnd column index(exclusive)
Sub matrix
Returns the k highest eigenvalues and its eigenvectors.
Number of calculated eigenvalues
Optional
maxIteration: numberMaximum iteration
The k highest eigenvalues and its eigenvectors. Eigenvectors correspond to each column of the matrix.
Determines whether all the members of a matrix satisfy the specified test.
Reduced value or matrix
Determines whether all the members of a matrix satisfy the specified test.
Reduced value or matrix
Determines whether all the members of a matrix satisfy the specified test.
Reduced value or matrix
Returns maximum value of all element.
Maximum value
Returns maximum values along the axis.
Axis to be reduced
Maximum values
Returns maximum values along the axis.
Axis to be reduced. If negative, returns the maximum value of the all element.
Maximum values
Returns mean of all element.
Mean value
Returns means along the axis.
Axis to be reduced
Mean values
Returns means along the axis.
Axis to be reduced. If negative, returns a mean value of the all element.
Mean values
Returns median of all element.
Median value
Returns medians along the axis.
Axis to be reduced
Median values
Returns medians along the axis.
Axis to be reduced. If negative, returns a median of the all element.
Median values
Returns minimum value of all element.
Minimum value
Returns minimum values along the axis.
Axis to be reduced
Minimum values
Returns minimum values along the axis.
Axis to be reduced. If negative, returns the minimum value of the all element.
Minimum values
Returns producted value of all element.
Producted value
Returns producted values along the axis.
Axis to be reduced
Producted values
Returns producted values along the axis.
Axis to be reduced. If negative, returns a producted value of the all element.
Producted values
Returns quantile value of all element.
Partition rate
Quantile value
Returns quantile values along the axis.
Partition rate
Axis to be reduced
Quantile values
Returns quantile values along the axis.
Partition rate
Axis to be reduced. If negative, returns the quantile value of the all element.
Quantile values
Returns a matrix reduced along all element with the callback function.
Reduced value
Returns a matrix reduced along the axis with the callback function.
Reduced matrix
Returns a matrix reduced along the axis with the callback function.
Reduced matrix or value
Repeat the elements n times along the axis this.
Repeated count
Optional
axis: numberAxis to be repeated
No return
Repeat the elements n times along the axis this.
Repeated counts for each axis
No return
Resize this matrix.
New row size
New column size
Optional
init: TValue of the extended region
Resize this matrix.
New sizes for each dimension
Optional
init: TValue of the extended region
Returns a matrix that sampled along the axis.
Sampled size
Optional
axis: numberAxis to be sampled
Optional
duplicate: booleanAllow duplicate index or not
Sampled matrix and its original indexes
Determines whether the specified callback function returns true for any element of a matrix.
Reduced value or matrix
Determines whether the specified callback function returns true for any element of a matrix.
Reduced value or matrix
Determines whether the specified callback function returns true for any element of a matrix.
Reduced value or matrix
Returns standard deviation of all element.
Standard deviation value
Returns standard deviations along the axis.
Axis to be reduced
Optional
ddof: numberDelta Degrees of Freedom
Standard deviation values
Returns standard deviations along the axis.
Axis to be reduced. If negative, returns a standard deviation of the all element.
Optional
ddof: numberDelta Degrees of Freedom
Standard deviation values
Returns summation value of all element.
Summation value
Returns summation values along the axis.
Axis to be reduced
Summation values
Returns summation values along the axis.
Axis to be reduced. If negative, returns a summation value of the all element.
Summation values
Returns a tridiagonal matrix.
Optional
return_u: falseReturns orthogonal matrix
Tridiagonal matrix, or Tridiagonal matrix and orthogonal matrix
Returns a tridiagonal matrix.
Returns orthogonal matrix
Tridiagonal matrix, or Tridiagonal matrix and orthogonal matrix
Returns variance of all element.
Variance value
Returns variances along the axis.
Axis to be reduced.
Optional
ddof: numberDelta Degrees of Freedom
Variance values
Returns variances along the axis.
Axis to be reduced. If negative, returns a variance of the all element.
Optional
ddof: numberDelta Degrees of Freedom
Variance values
Static
addStatic
andStatic
bitandStatic
bitorStatic
bitxorStatic
concatStatic
diagStatic
divStatic
eyeReturns a identity matrix.
Number of rows
Number of columns
Optional
init: numberDiagonal values
Identity matrix
Returns a identity matrix.
Sizes for each dimension
Optional
init: numberDiagonal values
Identity matrix
Static
fromStatic
mapStatic
modStatic
multStatic
onesReturns a matrix filled with 1.
Number of rows
Number of columns
Matrix filled with 1
Returns a matrix filled with 1.
Sizes for each dimension
Matrix filled with 1
Static
orStatic
randintReturns a matrix initialized uniform random integer values.
Number of rows
Number of columns
Optional
min: numberMinimum value of the Matrix (include)
Optional
max: numberMaximum value of the Matrix (include)
Matrix initialized uniform random values
Returns a matrix initialized uniform random integer values.
Sizes for each dimension
Optional
min: numberMinimum value of the Matrix (include)
Optional
max: numberMaximum value of the Matrix (include)
Matrix initialized uniform random values
Static
randnReturns a matrix initialized normal random values.
Number of rows
Number of columns
Optional
myu: number | number[]Mean value(s) of each columns
Optional
sigma: number | number[][]Variance value or covariance matrix of each columns
Matrix initialized normal random values
Returns a matrix initialized normal random values.
Sizes for each dimension
Optional
myu: number | number[]Mean value(s) of each columns
Optional
sigma: number | number[][]Variance value or covariance matrix of each columns
Matrix initialized normal random values
Static
randomReturns a matrix initialized uniform random values.
Number of rows
Number of columns
Optional
min: numberMinimum value of the Matrix (include)
Optional
max: numberMaximum value of the Matrix (exclude)
Matrix initialized uniform random values
Returns a matrix initialized uniform random values.
Sizes for each dimension
Optional
min: numberMinimum value of the Matrix (include)
Optional
max: numberMaximum value of the Matrix (exclude)
Matrix initialized uniform random values
Static
repeatReturns a matrix that repeat the elements n times along the axis.
Repeated matrix
Returns a matrix that repeat the elements n times along the axis.
Repeated matrix
Static
resizeReturn resized matrix.
Resized matrix
Return resized matrix.
Resized matrix
Static
subStatic
zerosReturns a matrix filled with 0.
Number of rows
Number of columns
Matrix filled with 0
Returns a matrix filled with 0.
Sizes for each dimension
Matrix filled with 0
Matrix class