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

Go to the source code of this file.

Functions

lapack_int LAPACKE_clarfg (lapack_int n, lapack_complex_float *alpha, lapack_complex_float *x, lapack_int incx, lapack_complex_float *tau)
 

Function Documentation

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 }
lapack_int LAPACKE_clarfg_work(lapack_int n, lapack_complex_float *alpha, lapack_complex_float *x, lapack_int incx, lapack_complex_float *tau)
ELF f x
Definition: testslamch:1
lapack_logical LAPACKE_c_nancheck(lapack_int n, const lapack_complex_float *x, lapack_int incx)
#define ABS(x)
Definition: lapacke_utils.h:44

Here is the call graph for this function: