To use these functions the Matrix Feature is required.
The matrix feature provides arbitrary functions to work with matrices in a data stream and provides algebraic operator (+, *, -, ^) to perform matrix addition, subtraction, multiplication, and exponentiation.
SELECT [1.0,2.0,3.0;4.0,5.0,6.0]+[1.0,2.0,3.0;4.0,5.0,6.0] FROM stream SELECT [1.0,2.0,3.0;4.0,5.0,6.0]-[1.0,2.0,3.0;4.0,5.0,6.0] FROM stream SELECT [1.0,2.0,3.0;4.0,5.0,6.0]*[1.0,2.0,3.0;4.0,5.0,6.0] FROM stream SELECT [1.0,2.0,3.0;4.0,5.0,6.0]^3 FROM stream |
Computes the trace of the matrix
Computes the determinant of the given matrix
Computes the inverse of the given matrix
Computes the transpose of the given matrix
Creates a dimension x dimension identity matrix
Return the minimum element in the given matrix.
Returns the maximum element in the given matrix.
Counts all elements in the given matrix.
Computes the sum of all elements of the given matrix.
Compute the average of all elements of the given matrix.