Expand description
Utility functions shared across matrix function modules
Functionsยง
- check_
positive_ definite - Check if all eigenvalues are positive (for positive definite matrices)
- check_
positive_ semidefinite - Check if all eigenvalues are non-negative (for positive semidefinite matrices)
- frobenius_
norm - Compute the Frobenius norm of a matrix
- integer_
matrix_ power - Compute matrix power for small integer powers using repeated squaring
- is_
diagonal - Check if a matrix is diagonal
- is_
identity - Check if a matrix is the identity matrix
- is_
integer - Check if a floating point number is close to an integer
- is_
symmetric - Check if a matrix is symmetric
- is_
zero_ matrix - Check if a matrix is the zero matrix
- matrix_
add - Add two matrices: result = A + B
- matrix_
diff_ norm - Compute the maximum absolute difference between two matrices
- matrix_
multiply - Compute matrix multiplication C = A * B
- matrix_
subtract - Subtract two matrices: result = A - B
- matrix_
transpose - Compute the matrix transpose
- scale_
matrix - Scale a matrix by a scalar: result = alpha * A