LAPACK  3.8.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_slacn2()

lapack_int LAPACKE_slacn2 ( lapack_int  n,
float *  v,
float *  x,
lapack_int isgn,
float *  est,
lapack_int kase,
lapack_int isave 
)

Definition at line 36 of file lapacke_slacn2.c.

38 {
39 #ifndef LAPACK_DISABLE_NAN_CHECK
40  if( LAPACKE_get_nancheck() ) {
41  /* Optionally check input matrices for NaNs */
42  if( LAPACKE_s_nancheck( 1, est, 1 ) ) {
43  return -5;
44  }
45  if( LAPACKE_s_nancheck( n, x, 1 ) ) {
46  return -3;
47  }
48  }
49 #endif
50  return LAPACKE_slacn2_work( n, v, x, isgn, est, kase, isave );
51 }
lapack_int LAPACKE_slacn2_work(lapack_int n, float *v, float *x, lapack_int *isgn, float *est, lapack_int *kase, lapack_int *isave)
lapack_logical LAPACKE_s_nancheck(lapack_int n, const float *x, lapack_int incx)
int LAPACKE_get_nancheck()
Here is the call graph for this function: