Skip to main content

cholesky

Function cholesky 

Source
pub fn cholesky<T: LinalgScalar, const N: usize>(
    a: &[T],
    batch: usize,
    n: usize,
) -> [T; N]
Expand description

The Cholesky factors (lower) of batch matrices n x n (ruxla_kernels::linalg::cholesky: NaN where a matrix is not positive definite).

ยงPanics

Panics if a or the result does not have N elements.