LAPACK  3.8.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_slartgp()

lapack_int LAPACKE_slartgp ( float  f,
float  g,
float *  cs,
float *  sn,
float *  r 
)

Definition at line 36 of file lapacke_slartgp.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, &f, 1 ) ) {
42  return -1;
43  }
44  if( LAPACKE_s_nancheck( 1, &g, 1 ) ) {
45  return -2;
46  }
47  }
48 #endif
49  return LAPACKE_slartgp_work( f, g, cs, sn, r );
50 }
lapack_logical LAPACKE_s_nancheck(lapack_int n, const float *x, lapack_int incx)
lapack_int LAPACKE_slartgp_work(float f, float g, float *cs, float *sn, float *r)
int LAPACKE_get_nancheck()
Here is the call graph for this function: