LAPACK  3.7.1
LAPACK: Linear Algebra PACKage

◆ LAPACKE_dlartgs()

lapack_int LAPACKE_dlartgs ( double  x,
double  y,
double  sigma,
double *  cs,
double *  sn 
)

Definition at line 36 of file lapacke_dlartgs.c.

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