7.7 Basic Operations
procedure
(matrix-conjugate M) → (Matrix Number)
M : (Matrix Number)
Returns a matrix where each entry of the given matrix is conjugated.
Example: | ||
|
procedure
(matrix-transpose M) → (Matrix A)
M : (Matrix A)
procedure
(matrix-hermitian M) → (Matrix Number)
M : (Matrix Number)
Wikipedia: Transpose,
Hermitian
Returns the transpose or the hermitian of the matrix.
The hermitian of a matrix is the conjugate of the transposed matrix.
For a real matrix these operations return the the same result.
Examples: | ||||
|
procedure
(matrix-trace M) → Number
M : (Matrix Number)
Wikipedia: Trace
Returns the trace of the square matrix. The trace of matrix is the
the sum of the diagonal entries.
Example: | ||
|