LAPACK  3.6.1
LAPACK: Linear Algebra PACKage
lapack_int LAPACKE_dtfsm ( int  matrix_layout,
char  transr,
char  side,
char  uplo,
char  trans,
char  diag,
lapack_int  m,
lapack_int  n,
double  alpha,
const double *  a,
double *  b,
lapack_int  ldb 
)

Definition at line 36 of file lapacke_dtfsm.c.

40 {
41  if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
42  LAPACKE_xerbla( "LAPACKE_dtfsm", -1 );
43  return -1;
44  }
45 #ifndef LAPACK_DISABLE_NAN_CHECK
46  /* Optionally check input matrices for NaNs */
47  if( IS_D_NONZERO(alpha) ) {
48  if( LAPACKE_dtf_nancheck( matrix_layout, transr, uplo, diag, n, a ) ) {
49  return -10;
50  }
51  }
52  if( LAPACKE_d_nancheck( 1, &alpha, 1 ) ) {
53  return -9;
54  }
55  if( IS_D_NONZERO(alpha) ) {
56  if( LAPACKE_dge_nancheck( matrix_layout, m, n, b, ldb ) ) {
57  return -11;
58  }
59  }
60 #endif
61  return LAPACKE_dtfsm_work( matrix_layout, transr, side, uplo, trans, diag, m,
62  n, alpha, a, b, ldb );
63 }
#define LAPACK_ROW_MAJOR
Definition: lapacke.h:119
lapack_logical LAPACKE_dtf_nancheck(int matrix_layout, char transr, char uplo, char diag, lapack_int n, const double *a)
lapack_logical LAPACKE_dge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const double *a, lapack_int lda)
lapack_logical LAPACKE_d_nancheck(lapack_int n, const double *x, lapack_int incx)
#define LAPACK_COL_MAJOR
Definition: lapacke.h:120
void LAPACKE_xerbla(const char *name, lapack_int info)
#define IS_D_NONZERO(x)
Definition: lapacke_utils.h:60
lapack_int LAPACKE_dtfsm_work(int matrix_layout, char transr, char side, char uplo, char trans, char diag, lapack_int m, lapack_int n, double alpha, const double *a, double *b, lapack_int ldb)

Here is the call graph for this function: