LAPACK  3.7.1
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  /* Optionally check input matrices for NaNs */
42  if( LAPACKE_c_nancheck( 1, alpha, 1 ) ) {
43  return -2;
44  }
45  if( LAPACKE_c_nancheck( 1+(n-2)*ABS(incx), x, incx ) ) {
46  return -3;
47  }
48 #endif
49  return LAPACKE_clarfg_work( n, alpha, x, incx, tau );
50 }
#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)
Here is the call graph for this function: