LAPACK  3.5.0
LAPACK: Linear Algebra PACKage
 All Classes Files Functions Variables Typedefs Macros
lapacke_dlarfg.c File Reference
#include "lapacke_utils.h"
Include dependency graph for lapacke_dlarfg.c:

Go to the source code of this file.

Functions

lapack_int LAPACKE_dlarfg (lapack_int n, double *alpha, double *x, lapack_int incx, double *tau)
 

Function Documentation

lapack_int LAPACKE_dlarfg ( lapack_int  n,
double *  alpha,
double *  x,
lapack_int  incx,
double *  tau 
)

Definition at line 36 of file lapacke_dlarfg.c.

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

Here is the call graph for this function: