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

## ◆ LAPACKE_slarfx()

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

Definition at line 35 of file lapacke_slarfx.c.

38{
39 lapack_int lv;
40 if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
41 LAPACKE_xerbla( "LAPACKE_slarfx", -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_sge_nancheck( matrix_layout, m, n, c, ldc ) ) {
48 return -7;
49 }
50 if( LAPACKE_s_nancheck( 1, &tau, 1 ) ) {
51 return -6;
52 }
53 lv = (LAPACKE_lsame( side, 'l' ) ? m : n);
54 if( LAPACKE_s_nancheck( lv, v, 1 ) ) {
55 return -5;
56 }
57 }
58#endif
59 return LAPACKE_slarfx_work( matrix_layout, side, m, n, v, tau, c, ldc,
60 work );
61}
#define lapack_int
Definition: lapack.h:87
#define LAPACK_COL_MAJOR
Definition: lapacke.h:53
#define LAPACK_ROW_MAJOR
Definition: lapacke.h:52
int LAPACKE_get_nancheck(void)
lapack_int LAPACKE_slarfx_work(int matrix_layout, char side, lapack_int m, lapack_int n, const float *v, float tau, float *c, lapack_int ldc, float *work)
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_s_nancheck(lapack_int n, const float *x, lapack_int incx)
lapack_logical LAPACKE_sge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const float *a, lapack_int lda)
Here is the call graph for this function: