LAPACK  3.10.1
LAPACK: Linear Algebra PACKage

◆ LAPACKE_sgttrf()

lapack_int LAPACKE_sgttrf ( lapack_int  n,
float *  dl,
float *  d,
float *  du,
float *  du2,
lapack_int ipiv 
)

Definition at line 35 of file lapacke_sgttrf.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 -3;
43  }
44  if( LAPACKE_s_nancheck( n-1, dl, 1 ) ) {
45  return -2;
46  }
47  if( LAPACKE_s_nancheck( n-1, du, 1 ) ) {
48  return -4;
49  }
50  }
51 #endif
52  return LAPACKE_sgttrf_work( n, dl, d, du, du2, ipiv );
53 }
lapack_int LAPACKE_sgttrf_work(lapack_int n, float *dl, float *d, float *du, float *du2, lapack_int *ipiv)
int LAPACKE_get_nancheck(void)
lapack_logical LAPACKE_s_nancheck(lapack_int n, const float *x, lapack_int incx)
Here is the call graph for this function: