LAPACK  3.8.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_dlartgp()

lapack_int LAPACKE_dlartgp ( double  f,
double  g,
double *  cs,
double *  sn,
double *  r 
)

Definition at line 36 of file lapacke_dlartgp.c.

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