LAPACK  3.8.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_zlacn2()

lapack_int LAPACKE_zlacn2 ( lapack_int  n,
lapack_complex_double v,
lapack_complex_double x,
double *  est,
lapack_int kase,
lapack_int isave 
)

Definition at line 36 of file lapacke_zlacn2.c.

39 {
40 #ifndef LAPACK_DISABLE_NAN_CHECK
41  if( LAPACKE_get_nancheck() ) {
42  /* Optionally check input matrices for NaNs */
43  if( LAPACKE_d_nancheck( 1, est, 1 ) ) {
44  return -5;
45  }
46  if( LAPACKE_z_nancheck( n, x, 1 ) ) {
47  return -3;
48  }
49  }
50 #endif
51  return LAPACKE_zlacn2_work( n, v, x, est, kase, isave );
52 }
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_zlacn2_work(lapack_int n, lapack_complex_double *v, lapack_complex_double *x, double *est, lapack_int *kase, lapack_int *isave)
int LAPACKE_get_nancheck()
Here is the call graph for this function: