OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
lapacke_ctrsyl.c File Reference
#include "lapacke_utils.h"

Go to the source code of this file.

Functions

lapack_int LAPACKE_ctrsyl (int matrix_layout, char trana, char tranb, lapack_int isgn, lapack_int m, lapack_int n, const lapack_complex_float *a, lapack_int lda, const lapack_complex_float *b, lapack_int ldb, lapack_complex_float *c, lapack_int ldc, float *scale)

Function Documentation

◆ LAPACKE_ctrsyl()

lapack_int LAPACKE_ctrsyl ( int matrix_layout,
char trana,
char tranb,
lapack_int isgn,
lapack_int m,
lapack_int n,
const lapack_complex_float * a,
lapack_int lda,
const lapack_complex_float * b,
lapack_int ldb,
lapack_complex_float * c,
lapack_int ldc,
float * scale )

Definition at line 35 of file lapacke_ctrsyl.c.

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