LAPACK  3.6.1
LAPACK: Linear Algebra PACKage
lapack_int LAPACKE_slarfg ( lapack_int  n,
float *  alpha,
float *  x,
lapack_int  incx,
float *  tau 
)

Definition at line 36 of file lapacke_slarfg.c.

38 {
39 #ifndef LAPACK_DISABLE_NAN_CHECK
40  /* Optionally check input matrices for NaNs */
41  if( LAPACKE_s_nancheck( 1, alpha, 1 ) ) {
42  return -2;
43  }
44  if( LAPACKE_s_nancheck( 1+(n-2)*ABS(incx), x, incx ) ) {
45  return -3;
46  }
47 #endif
48  return LAPACKE_slarfg_work( n, alpha, x, incx, tau );
49 }
lapack_int LAPACKE_slarfg_work(lapack_int n, float *alpha, float *x, lapack_int incx, float *tau)
#define ABS(x)
Definition: lapacke_utils.h:44
lapack_logical LAPACKE_s_nancheck(lapack_int n, const float *x, lapack_int incx)

Here is the call graph for this function: