LAPACK  3.7.1
LAPACK: Linear Algebra PACKage

◆ LAPACKE_zpttrf()

lapack_int LAPACKE_zpttrf ( lapack_int  n,
double *  d,
lapack_complex_double e 
)

Definition at line 36 of file lapacke_zpttrf.c.

37 {
38 #ifndef LAPACK_DISABLE_NAN_CHECK
39  /* Optionally check input matrices for NaNs */
40  if( LAPACKE_d_nancheck( n, d, 1 ) ) {
41  return -2;
42  }
43  if( LAPACKE_z_nancheck( n-1, e, 1 ) ) {
44  return -3;
45  }
46 #endif
47  return LAPACKE_zpttrf_work( n, d, e );
48 }
lapack_logical LAPACKE_z_nancheck(lapack_int n, const lapack_complex_double *x, lapack_int incx)
lapack_logical LAPACKE_d_nancheck(lapack_int n, const double *x, lapack_int incx)
lapack_int LAPACKE_zpttrf_work(lapack_int n, double *d, lapack_complex_double *e)
Here is the call graph for this function: