extendr_api::prelude::modules::svd

Function compute_svd_req

pub fn compute_svd_req<E>(
    nrows: usize,
    ncols: usize,
    compute_u: ComputeVectors,
    compute_v: ComputeVectors,
    parallelism: Parallelism<'_>,
    params: SvdParams,
) -> Result<StackReq, SizeOverflow>
where E: ComplexField,
Expand description

Computes the size and alignment of required workspace for performing a singular value decomposition. $U$ and $V$ may be computed fully, partially, or not computed at all.