LAPACK  3.8.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_dlapy2()

double LAPACKE_dlapy2 ( double  x,
double  y 
)

Definition at line 36 of file lapacke_dlapy2.c.

37 {
38 #ifndef LAPACK_DISABLE_NAN_CHECK
39  if( LAPACKE_get_nancheck() ) {
40  /* Optionally check input matrices for NaNs */
41  if( LAPACKE_d_nancheck( 1, &x, 1 ) ) {
42  return -1;
43  }
44  if( LAPACKE_d_nancheck( 1, &y, 1 ) ) {
45  return -2;
46  }
47  }
48 #endif
49  return LAPACKE_dlapy2_work( x, y );
50 }
lapack_logical LAPACKE_d_nancheck(lapack_int n, const double *x, lapack_int incx)
double LAPACKE_dlapy2_work(double x, double y)
int LAPACKE_get_nancheck()
Here is the call graph for this function: