LAPACK  3.8.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_clarfg()

lapack_int LAPACKE_clarfg ( lapack_int  n,
lapack_complex_float alpha,
lapack_complex_float x,
lapack_int  incx,
lapack_complex_float tau 
)

Definition at line 36 of file lapacke_clarfg.c.

39 {
40 #ifndef LAPACK_DISABLE_NAN_CHECK
41  if( LAPACKE_get_nancheck() ) {
42  /* Optionally check input matrices for NaNs */
43  if( LAPACKE_c_nancheck( 1, alpha, 1 ) ) {
44  return -2;
45  }
46  if( LAPACKE_c_nancheck( 1+(n-2)*ABS(incx), x, incx ) ) {
47  return -3;
48  }
49  }
50 #endif
51  return LAPACKE_clarfg_work( n, alpha, x, incx, tau );
52 }
#define ABS(x)
Definition: lapacke_utils.h:44
lapack_logical LAPACKE_c_nancheck(lapack_int n, const lapack_complex_float *x, lapack_int incx)
lapack_int LAPACKE_clarfg_work(lapack_int n, lapack_complex_float *alpha, lapack_complex_float *x, lapack_int incx, lapack_complex_float *tau)
int LAPACKE_get_nancheck()
Here is the call graph for this function: