Skip to content
fn

lapack_cholesky_f64

void lapack_cholesky_f64(double * A, int n, bool lower, int * info)

Double-precision Cholesky decomposition (in place). Uses dpotrf_.

References

LAPACK dpotrf_.

Parameters

Adouble*
Row-major SPD matrix; overwritten by the triangular factor.
nint
Side length.
lowerbool
Select LL (true) or UU (false).
infoint*
LAPACK status word.