pub fn svd<T: SvdFloat, M: SparseMat<T>>(
a: &M,
rank: usize,
) -> Result<SvdRec<T>>Expand description
The rank largest singular triplets.
Dispatches to irlba, which is accurate and holds a basis bounded by rank.
Reach past this for a fixed seed (irlba::svd_seed), PCA
(irlba::svd_centered), or an approximation on a very large input
(randomized).