LAPACK  3.9.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_dpttrf()

lapack_int LAPACKE_dpttrf ( lapack_int  n,
double *  d,
double *  e 
)

Definition at line 35 of file lapacke_dpttrf.c.

37 {
38 #ifndef LAPACK_DISABLE_NAN_CHECK
39  if( LAPACKE_get_nancheck() ) {
40  /* Optionally check input matrices for NaNs */
41  if( LAPACKE_d_nancheck( n, d, 1 ) ) {
42  return -2;
43  }
44  if( LAPACKE_d_nancheck( n-1, e, 1 ) ) {
45  return -3;
46  }
47  }
48 #endif
49  return LAPACKE_dpttrf_work( n, d, e );
Here is the call graph for this function:
LAPACKE_dpttrf_work
lapack_int LAPACKE_dpttrf_work(lapack_int n, double *d, double *e)
Definition: lapacke_dpttrf_work.c:35
LAPACKE_d_nancheck
lapack_logical LAPACKE_d_nancheck(lapack_int n, const double *x, lapack_int incx)
Definition: lapacke_d_nancheck.c:36
LAPACKE_get_nancheck
int LAPACKE_get_nancheck()
Definition: lapacke_nancheck.c:42