LAPACK  3.9.1
LAPACK: Linear Algebra PACKage

◆ LAPACKE_dlartgp()

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

Definition at line 35 of file lapacke_dlartgp.c.

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