LAPACK  3.5.0
LAPACK: Linear Algebra PACKage
 All Classes Files Functions Variables Typedefs Macros
lapacke_sgghrd.c File Reference
#include "lapacke_utils.h"
Include dependency graph for lapacke_sgghrd.c:

Go to the source code of this file.

Functions/Subroutines

lapack_int LAPACKE_sgghrd (int matrix_order, char compq, char compz, lapack_int n, lapack_int ilo, lapack_int ihi, float *a, lapack_int lda, float *b, lapack_int ldb, float *q, lapack_int ldq, float *z, lapack_int ldz)

Function/Subroutine Documentation

lapack_int LAPACKE_sgghrd ( int  matrix_order,
char  compq,
char  compz,
lapack_int  n,
lapack_int  ilo,
lapack_int  ihi,
float *  a,
lapack_int  lda,
float *  b,
lapack_int  ldb,
float *  q,
lapack_int  ldq,
float *  z,
lapack_int  ldz 
)

Definition at line 36 of file lapacke_sgghrd.c.

{
if( matrix_order != LAPACK_COL_MAJOR && matrix_order != LAPACK_ROW_MAJOR ) {
LAPACKE_xerbla( "LAPACKE_sgghrd", -1 );
return -1;
}
#ifndef LAPACK_DISABLE_NAN_CHECK
/* Optionally check input matrices for NaNs */
if( LAPACKE_sge_nancheck( matrix_order, n, n, a, lda ) ) {
return -7;
}
if( LAPACKE_sge_nancheck( matrix_order, n, n, b, ldb ) ) {
return -9;
}
if( LAPACKE_lsame( compq, 'i' ) || LAPACKE_lsame( compq, 'v' ) ) {
if( LAPACKE_sge_nancheck( matrix_order, n, n, q, ldq ) ) {
return -11;
}
}
if( LAPACKE_lsame( compz, 'i' ) || LAPACKE_lsame( compz, 'v' ) ) {
if( LAPACKE_sge_nancheck( matrix_order, n, n, z, ldz ) ) {
return -13;
}
}
#endif
return LAPACKE_sgghrd_work( matrix_order, compq, compz, n, ilo, ihi, a, lda,
b, ldb, q, ldq, z, ldz );
}

Here is the call graph for this function: