LAPACK  3.8.0
LAPACK: Linear Algebra PACKage

◆ LAPACKE_zlarfg()

lapack_int LAPACKE_zlarfg ( lapack_int  n,
lapack_complex_double alpha,
lapack_complex_double x,
lapack_int  incx,
lapack_complex_double tau 
)

Definition at line 36 of file lapacke_zlarfg.c.

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