Skip to main content

validate_for

Function validate_for 

Source
pub(crate) fn validate_for<T: Real>(
    rows: usize,
    cols: usize,
    k: usize,
    which: Which,
    o: &EigsOptions<T>,
    symmetric: bool,
) -> Result<(), StatlaError>
Expand description

The argument checks of eigsh()/eigs(), for the shift-invert drivers (which validate before factorizing).