fn
lapack_lu_factor_f32
void lapack_lu_factor_f32(const float * A, int n, float * LU_out, int * ipiv_out, int * info)Single-precision LU factorisation (packed format).
Writes the LAPACK-native packed LU output (lower triangle = without its
unit diagonal, upper triangle = ) into LU_out, along with the
pivot indices into ipiv_out. Intended for use with
lapack_lu_solve_f32 so the factorisation can be reused across many
right-hand sides.
References
LAPACK sgetrf_.
Parameters
Aconst float*Row-major input.
nintSide length.
LU_outfloat*Packed LU output (row-major).
ipiv_outint*1-based pivot indices, length .
infoint*LAPACK status word.