LAPACK  3.9.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_dlacn2()

lapack_int LAPACKE_dlacn2 ( lapack_int  n,
double *  v,
double *  x,
lapack_int isgn,
double *  est,
lapack_int kase,
lapack_int isave 
)

Definition at line 35 of file lapacke_dlacn2.c.

38 {
39 #ifndef LAPACK_DISABLE_NAN_CHECK
40  if( LAPACKE_get_nancheck() ) {
41  /* Optionally check input matrices for NaNs */
42  if( LAPACKE_d_nancheck( 1, est, 1 ) ) {
43  return -5;
44  }
45  if( LAPACKE_d_nancheck( n, x, 1 ) ) {
46  return -3;
47  }
48  }
49 #endif
50  return LAPACKE_dlacn2_work( n, v, x, isgn, est, kase, isave );
Here is the call graph for this function:
LAPACKE_dlacn2_work
lapack_int LAPACKE_dlacn2_work(lapack_int n, double *v, double *x, lapack_int *isgn, double *est, lapack_int *kase, lapack_int *isave)
Definition: lapacke_dlacn2_work.c:35
LAPACKE_d_nancheck
lapack_logical LAPACKE_d_nancheck(lapack_int n, const double *x, lapack_int incx)
Definition: lapacke_d_nancheck.c:36
LAPACKE_get_nancheck
int LAPACKE_get_nancheck()
Definition: lapacke_nancheck.c:42