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 |
Using Matrix functions
Open any function in this category to review its accepted syntax, try editable inputs, and follow links to related operations. Function names are case-sensitive where shown. Start with the smallest working expression, confirm its result, and then combine it with variables or earlier calculator lines for a longer calculation.
The result stays beside the expression, so you can revise one argument at a time and compare the outcome without rebuilding the rest of your work. Use separate lines when you want to preserve intermediate values for checking or reuse.
Not sure which operation fits? Return to the complete function reference to compare categories and search by function name.