NLA-lib Explorer

NLAlib.rsvd

Library 路 def

The randomized SVD approximation (range-finder approximation) \mathsf{rsvd}(\mathbf{A}, \mathbf{\Omega}) := \mathbf{P}_{\mathbf{A}\mathbf{\Omega}}\mathbf{A} of \mathbf{A} for a test matrix \mathbf{\Omega}, here deterministic: the projection of \mathbf{A} onto the range of the sketch \mathbf{A}\mathbf{\Omega}, two passes over \mathbf{A}. Its rank is at most \operatorname{rank}(\mathbf{A}\mathbf{\Omega}) \le \lvert l \rvert (NLAlib.rank_rsvd_le); it is \mathbf{0} when \mathbf{A}\mathbf{\Omega} = \mathbf{0}. [HalkoMartinssonTropp2011, Algorithm 4.1]; [MartinssonTropp2020, Algorithm 8]; there with a random test matrix and an orthonormal basis of the sketch. Algorithm: randomized-svd

NLAlib.rsvd.{u_1, u_2, u_3, u_4} {饾暅 : Type u_1} [RCLike 饾暅] {l : Type u_2} {m : Type u_3}
  {n : Type u_4} [Fintype l] [Fintype m] [Fintype n] (A : Matrix m n 饾暅) (惟 : Matrix n l 饾暅) :
  Matrix m n 饾暅

Full source on GitHub

Import NLAlib.Matrix.Factorizations.SketchedLowRank.