Skip to main content

range_finder

Function range_finder 

Source
pub fn range_finder<T, O>(
    op: &mut O,
    l: usize,
    opts: &RsvdOptions,
) -> Result<DenseBlock<T>, StatlaError>
where T: Real, O: AdjointOperator<T> + ?Sized,
Expand description

Steps S1–S3 only: an orthonormal Q ∈ R^{m×l} whose range approximates that of A (for sketching, CUR, randomized PCA by the caller). The width is l itself: RsvdOptions::oversample is not added (it belongs to rsvd()’s k + p).

§Errors

As rsvd() (l = 0 or l > min(m, n) is StatlaError::InvalidArgument).