Matrix

Manipulate matrices efficiently for linear transformations.

Matrix functions are essential for handling multidimensional data structures and linear transformations. Calcul.io includes functions for matrix addition, multiplication, inversion, determinant calculation, and eigenvalue computation. These functions are fundamental in fields like physics, computer graphics, and data analysis.

Our matrix functions provide robust tools for manipulating matrices of various sizes and types. Whether you are solving systems of linear equations, performing image transformations, or conducting numerical simulations, Calcul.io offers the matrix operations necessary to achieve accurate and efficient results in your matrix-related computations.

column
concat
count
cross
ctranspose
det
diag
diff

Create a new matrix or array with the difference of the passed matrix or array.

Dim parameter is optional and used to indicate the dimension of the array/matrix to apply the difference

If no dimension parameter is passed it is assumed as dimension 0

Dimension is zero-based in javascript and one-based in the parser

Arrays must be 'rectangular' meaning arrays like [1, 2]

If something is passed as a matrix it will be returned as a matrix but other than that all matrices are converted to arrays

dot
eigs
fft
filter
flatten
forEach
getMatrixDataType
identity
ifft
inv
kron
map
mapSlices
matrixFromColumns
matrixFromFunction
matrixFromRows
ones
partitionSelect
pinv
reshape
resize
rotate
rotationMatrix
row
size
sort
squeeze
subset
trace
transpose
zeros
All functions