LAPACK  3.7.1
LAPACK: Linear Algebra PACKage

◆ LAPACKE_slapy2()

float LAPACKE_slapy2 ( float  x,
float  y 
)

Definition at line 36 of file lapacke_slapy2.c.

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