rsvd_power_ndarray

Function rsvd_power_ndarray 

Source
pub fn rsvd_power_ndarray<T>(
    a: &Array2<T>,
    k: usize,
    power_iterations: usize,
) -> LapackResult<RandomizedSvdResult<T>>
where T: Field + Clone + Zeroable + Real,
Expand description

Computes randomized SVD with power iteration for improved accuracy.

Power iteration emphasizes dominant singular values and improves accuracy for matrices with slowly decaying singular values.

§Arguments

  • a - The input matrix (m×n)
  • k - Target rank
  • power_iterations - Number of power iterations (typically 1-3)