LAPACK  3.8.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_dgttrf()

lapack_int LAPACKE_dgttrf ( lapack_int  n,
double *  dl,
double *  d,
double *  du,
double *  du2,
lapack_int ipiv 
)

Definition at line 36 of file lapacke_dgttrf.c.

38 {
39 #ifndef LAPACK_DISABLE_NAN_CHECK
40  if( LAPACKE_get_nancheck() ) {
41  /* Optionally check input matrices for NaNs */
42  if( LAPACKE_d_nancheck( n, d, 1 ) ) {
43  return -3;
44  }
45  if( LAPACKE_d_nancheck( n-1, dl, 1 ) ) {
46  return -2;
47  }
48  if( LAPACKE_d_nancheck( n-1, du, 1 ) ) {
49  return -4;
50  }
51  }
52 #endif
53  return LAPACKE_dgttrf_work( n, dl, d, du, du2, ipiv );
54 }
lapack_logical LAPACKE_d_nancheck(lapack_int n, const double *x, lapack_int incx)
lapack_int LAPACKE_dgttrf_work(lapack_int n, double *dl, double *d, double *du, double *du2, lapack_int *ipiv)
int LAPACKE_get_nancheck()
Here is the call graph for this function: