LAPACK  3.9.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_slapy2()

float LAPACKE_slapy2 ( float  x,
float  y 
)

Definition at line 35 of file lapacke_slapy2.c.

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