extendr_api::prelude::modules::evd

Function compute_evd_req

pub fn compute_evd_req<E>(
    n: usize,
    compute_eigenvectors: ComputeVectors,
    parallelism: Parallelism<'_>,
    params: EvdParams,
) -> Result<StackReq, SizeOverflow>
where E: ComplexField,
Expand description

Computes the size and alignment of required workspace for performing an eigenvalue decomposition. The eigenvectors may be optionally computed.