LAPACK  3.6.1
LAPACK: Linear Algebra PACKage
lapack_int LAPACKE_dtrsyl ( int  matrix_layout,
char  trana,
char  tranb,
lapack_int  isgn,
lapack_int  m,
lapack_int  n,
const double *  a,
lapack_int  lda,
const double *  b,
lapack_int  ldb,
double *  c,
lapack_int  ldc,
double *  scale 
)

Definition at line 36 of file lapacke_dtrsyl.c.

41 {
42  if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) {
43  LAPACKE_xerbla( "LAPACKE_dtrsyl", -1 );
44  return -1;
45  }
46 #ifndef LAPACK_DISABLE_NAN_CHECK
47  /* Optionally check input matrices for NaNs */
48  if( LAPACKE_dge_nancheck( matrix_layout, m, m, a, lda ) ) {
49  return -7;
50  }
51  if( LAPACKE_dge_nancheck( matrix_layout, n, n, b, ldb ) ) {
52  return -9;
53  }
54  if( LAPACKE_dge_nancheck( matrix_layout, m, n, c, ldc ) ) {
55  return -11;
56  }
57 #endif
58  return LAPACKE_dtrsyl_work( matrix_layout, trana, tranb, isgn, m, n, a, lda,
59  b, ldb, c, ldc, scale );
60 }
#define LAPACK_ROW_MAJOR
Definition: lapacke.h:119
lapack_logical LAPACKE_dge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const double *a, lapack_int lda)
#define LAPACK_COL_MAJOR
Definition: lapacke.h:120
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_int LAPACKE_dtrsyl_work(int matrix_layout, char trana, char tranb, lapack_int isgn, lapack_int m, lapack_int n, const double *a, lapack_int lda, const double *b, lapack_int ldb, double *c, lapack_int ldc, double *scale)

Here is the call graph for this function: