NLA-lib Explorer

NLAlib.schattenNorm

Library · def

The Schatten q-norm \|\mathbf{A}\|_{S_q}: the \ell^q norm of the singular values \sigma_i(\mathbf{A}), i < \min(\lvert m \rvert, \lvert n \rvert), for q \in [0,\infty]. For q = 1, 2, \infty it is the nuclear, Frobenius and spectral norm; it is a norm for 1 \le q. For q = 0 it is the rank, following Mathlib's convention for \ell^0. [HornJohnson2013, §7.4.7]; [Bhatia1997, §IV.2].

NLAlib.schattenNorm.{u_1, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_3} {n : Type u_4}
  [Fintype m] [Fintype n] (q : ℝ≥0∞) (A : Matrix m n 𝕜) : ℝ

Full source on GitHub

Import NLAlib.Matrix.Norms.Schatten.