CASTI-89 TITANIUM · CALC89
.^
Raises each entry of a matrix to a power element by element, instead of computing a matrix power.
Syntax
Matrix1 .^ Matrix2
- Group
- Matrix
- Arguments
- Takes two matrices of the same dimensions, or a matrix and a single exponent as in the example.
- Availability
- Included
Example
| Input | Result |
|---|---|
| [1,2;3,4].^2 | [[1,4][9,16]] |
Typing [1,2;3,4].^2 on the home screen and pressing ENTER returns [[1,4][9,16]].
Related commands
- 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.
- constructMat(Builds a matrix by evaluating an expression in two index variables for every row and column position.
- crossP(Returns the cross product of two vectors.
- det(Returns the determinant of a square matrix.