LAPACK  3.8.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_slapy3()

float LAPACKE_slapy3 ( float  x,
float  y,
float  z 
)

Definition at line 36 of file lapacke_slapy3.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  if( LAPACKE_s_nancheck( 1, &z, 1 ) ) {
48  return -3;
49  }
50  }
51 #endif
52  return LAPACKE_slapy3_work( x, y, z );
53 }
lapack_logical LAPACKE_s_nancheck(lapack_int n, const float *x, lapack_int incx)
float LAPACKE_slapy3_work(float x, float y, float z)
int LAPACKE_get_nancheck()
Here is the call graph for this function: