LAPACK  3.8.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_slartgs()

lapack_int LAPACKE_slartgs ( float  x,
float  y,
float  sigma,
float *  cs,
float *  sn 
)

Definition at line 36 of file lapacke_slartgs.c.

38 {
39 #ifndef LAPACK_DISABLE_NAN_CHECK
40  if( LAPACKE_get_nancheck() ) {
41  /* Optionally check input matrices for NaNs */
42  if( LAPACKE_s_nancheck( 1, &sigma, 1 ) ) {
43  return -3;
44  }
45  if( LAPACKE_s_nancheck( 1, &x, 1 ) ) {
46  return -1;
47  }
48  if( LAPACKE_s_nancheck( 1, &y, 1 ) ) {
49  return -2;
50  }
51  }
52 #endif
53  return LAPACKE_slartgs_work( x, y, sigma, cs, sn );
54 }
lapack_logical LAPACKE_s_nancheck(lapack_int n, const float *x, lapack_int incx)
lapack_int LAPACKE_slartgs_work(float x, float y, float sigma, float *cs, float *sn)
int LAPACKE_get_nancheck()
Here is the call graph for this function: