function schatten_norm¶
- deeptime.numeric.schatten_norm(mat: ndarray, order: float = 1, hermitian: bool = False) float ¶
Computes the r-Schatten norm
\[\| T \|_r = \left( \sum_i \sigma_i^p (T) \right)^{1/r}, \]where \(\sigma_i\) are the singular values corresponding to matrix \(T\).
- Parameters:
mat (ndarray) – input matrix
order (float) – Order of the Schatten norm, must be \(\geq 1\).
hermitian (bool, optional, default=False) – If True, the matrix is assumed to be Hermitian, which allows the norm to be computed more efficiently.
- Returns:
norm – The norm.
- Return type:
float