LAPACK 3.11.0
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ 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 35 of file lapacke_zlarfg.c.

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