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