qrunch.common.symmetric_square_root
Utilities for numerically robust matrix symmetric square root.
Functions
|
Compute the principal square root of a symmetric positive-definite matrix. |
- symmetric_matrix_square_root(matrix: NDArray[float64]) NDArray[float64]
Compute the principal square root of a symmetric positive-definite matrix.
- Parameters:
matrix (NDArray[float64]) – Symmetric positive-definite matrix to take the square root of.
- Return type:
NDArray[float64]