CASTI-89 TITANIUM · CALC89
simult(
Solves a system of linear equations given as a coefficient matrix and a column of constants, and returns the solution as a column vector.
Syntax
simult(coefMatrix, constMatrix)
- Group
- Matrix
- Arguments
- Takes the coefficient matrix and the constant column matrix.
- Availability
- Included
Example
| Input | Result |
|---|---|
| simult([1,1;1,-1],[3;1]) | [[2][1]] |
Typing simult([1,1;1,-1],[3;1]) on the home screen and pressing ENTER returns [[2][1]].
Related commands
- subMat(Returns the part of a matrix between a start row and column and an end row and column.
- trace(Returns the trace of a square matrix, the sum of the entries on its main diagonal.
- transpose(Returns the transpose of a matrix, with rows and columns swapped.
- unitV(Returns the unit vector in the direction of a vector, the vector divided by its length.
- .*Multiplies two matrices element by element, unlike the normal matrix product.
- .+Adds element by element: each entry of the first matrix is added to the matching entry of the second, or to a single value.
- .-Subtracts element by element: the matching entry of the second matrix, or a single value, is subtracted from each entry.
- ./Divides element by element: each entry is divided by the matching entry of the second matrix, or by a single value.