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

◆ LAPACKE_dlarfx()

lapack_int LAPACKE_dlarfx ( int  matrix_layout,
char  side,
lapack_int  m,
lapack_int  n,
const double *  v,
double  tau,
double *  c,
lapack_int  ldc,
double *  work 
)

Definition at line 35 of file lapacke_dlarfx.c.

38{
39 lapack_int lv;
40 if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
41 LAPACKE_xerbla( "LAPACKE_dlarfx", -1 );
42 return -1;
43 }
44#ifndef LAPACK_DISABLE_NAN_CHECK
45 if( LAPACKE_get_nancheck() ) {
46 /* Optionally check input matrices for NaNs */
47 if( LAPACKE_dge_nancheck( matrix_layout, m, n, c, ldc ) ) {
48 return -7;
49 }
50 if( LAPACKE_d_nancheck( 1, &tau, 1 ) ) {
51 return -6;
52 }
53 lv = (LAPACKE_lsame( side, 'l' ) ? m : n);
54 if( LAPACKE_d_nancheck( lv, v, 1 ) ) {
55 return -5;
56 }
57 }
58#endif
59 return LAPACKE_dlarfx_work( matrix_layout, side, m, n, v, tau, c, ldc,
60 work );
61}
#define lapack_int
Definition: lapack.h:87
lapack_int LAPACKE_dlarfx_work(int matrix_layout, char side, lapack_int m, lapack_int n, const double *v, double tau, double *c, lapack_int ldc, double *work)
#define LAPACK_COL_MAJOR
Definition: lapacke.h:53
#define LAPACK_ROW_MAJOR
Definition: lapacke.h:52
int LAPACKE_get_nancheck(void)
lapack_logical LAPACKE_lsame(char ca, char cb)
Definition: lapacke_lsame.c:35
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_logical LAPACKE_d_nancheck(lapack_int n, const double *x, lapack_int incx)
lapack_logical LAPACKE_dge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const double *a, lapack_int lda)
Here is the call graph for this function: