Function svd_dim

Source
pub fn svd_dim(A: &dyn SMat, dimensions: usize) -> Result<SvdRec, SvdLibError>
Expand description

SVD at desired dimensionality, calls svdLAS2 with the highlighted defaults

svdLAS2(A, dimensions, 0, &[-1.0e-30, 1.0e-30], 1.0e-6, 0)

ยงParameters

  • A: Sparse matrix
  • dimensions: Upper limit of desired number of dimensions, bounded by the matrix shape