LAPACK  3.9.1
LAPACK: Linear Algebra PACKage

◆ LAPACKE_dlapy2()

double LAPACKE_dlapy2 ( double  x,
double  y 
)

Definition at line 35 of file lapacke_dlapy2.c.

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