Skip to content
fn

lapack_lu_f64

void lapack_lu_f64(const double * A, int n, int * ipiv, double * L_out, double * U_out, int * info)

Double-precision LU decomposition split into separate L and U. See lapack_lu_f32; uses dgetrf_.

References

LAPACK dgetrf_.

Parameters

Aconst double*
Row-major n×nn \times n input.
nint
Side length.
ipivint*
1-based pivot indices, length nn.
L_out, U_outdouble*
Receive the LL and UU factors.
infoint*
LAPACK status word.