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

Definition at line 36 of file lapacke_ctfsm.c.

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

Here is the call graph for this function: