CASTI-89 TITANIUM · CALC89
.+
Adds element by element: each entry of the first matrix is added to the matching entry of the second, or to a single value.
Syntax
Matrix1 .+ Matrix2
- Group
- Matrix
- Arguments
- Takes two matrices of the same dimensions, or a matrix and a single value as in the example.
- Availability
- Included
Example
| Input | Result |
|---|---|
| [1,2;3,4].+10 | [[11,12][13,14]] |
Typing [1,2;3,4].+10 on the home screen and pressing ENTER returns [[11,12][13,14]].
Related commands
- .-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.
- .^Raises each entry of a matrix to a power element by element, instead of computing a matrix power.
- augment(Joins two matrices side by side, appending the columns of the second to the first.
- charPoly(Returns the characteristic polynomial of a square matrix in the given variable.
- colAugment(Stacks two matrices vertically, appending the rows of the second below the first.
- colDim(Returns the number of columns of a matrix.
- colNorm(Returns the column norm of a matrix, the largest sum of the absolute values of the entries in any column.