function schatten_norm

deeptime.numeric.schatten_norm(mat: ndarray, order: float = 1, hermitian: bool = False) float

Computes the r-Schatten norm

Tr=(iσip(T))1/r,\| T \|_r = \left( \sum_i \sigma_i^p (T) \right)^{1/r},

where σi\sigma_i are the singular values corresponding to matrix TT.

Parameters:
  • mat (ndarray) – input matrix

  • order (float) – Order of the Schatten norm, must be 1\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