LAPACK  3.8.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_cpttrf()

lapack_int LAPACKE_cpttrf ( lapack_int  n,
float *  d,
lapack_complex_float e 
)

Definition at line 36 of file lapacke_cpttrf.c.

37 {
38 #ifndef LAPACK_DISABLE_NAN_CHECK
39  if( LAPACKE_get_nancheck() ) {
40  /* Optionally check input matrices for NaNs */
41  if( LAPACKE_s_nancheck( n, d, 1 ) ) {
42  return -2;
43  }
44  if( LAPACKE_c_nancheck( n-1, e, 1 ) ) {
45  return -3;
46  }
47  }
48 #endif
49  return LAPACKE_cpttrf_work( n, d, e );
50 }
lapack_logical LAPACKE_s_nancheck(lapack_int n, const float *x, lapack_int incx)
lapack_logical LAPACKE_c_nancheck(lapack_int n, const lapack_complex_float *x, lapack_int incx)
lapack_int LAPACKE_cpttrf_work(lapack_int n, float *d, lapack_complex_float *e)
int LAPACKE_get_nancheck()
Here is the call graph for this function: