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

Go to the source code of this file.

Functions

lapack_int LAPACKE_sgtsv (int matrix_order, lapack_int n, lapack_int nrhs, float *dl, float *d, float *du, float *b, lapack_int ldb)
 

Function Documentation

lapack_int LAPACKE_sgtsv ( int  matrix_order,
lapack_int  n,
lapack_int  nrhs,
float *  dl,
float *  d,
float *  du,
float *  b,
lapack_int  ldb 
)

Definition at line 36 of file lapacke_sgtsv.c.

39 {
40  if( matrix_order != LAPACK_COL_MAJOR && matrix_order != LAPACK_ROW_MAJOR ) {
41  LAPACKE_xerbla( "LAPACKE_sgtsv", -1 );
42  return -1;
43  }
44 #ifndef LAPACK_DISABLE_NAN_CHECK
45  /* Optionally check input matrices for NaNs */
46  if( LAPACKE_sge_nancheck( matrix_order, n, nrhs, b, ldb ) ) {
47  return -7;
48  }
49  if( LAPACKE_s_nancheck( n, d, 1 ) ) {
50  return -5;
51  }
52  if( LAPACKE_s_nancheck( n-1, dl, 1 ) ) {
53  return -4;
54  }
55  if( LAPACKE_s_nancheck( n-1, du, 1 ) ) {
56  return -6;
57  }
58 #endif
59  return LAPACKE_sgtsv_work( matrix_order, n, nrhs, dl, d, du, b, ldb );
60 }
#define LAPACK_COL_MAJOR
Definition: lapacke.h:120
lapack_logical LAPACKE_s_nancheck(lapack_int n, const float *x, lapack_int incx)
set ue cd $ADTTMP cat<< EOF > tmp f Program LinearEquations Implicit none Real b(3) integer i
lapack_int LAPACKE_sgtsv_work(int matrix_order, lapack_int n, lapack_int nrhs, float *dl, float *d, float *du, float *b, lapack_int ldb)
#define LAPACK_ROW_MAJOR
Definition: lapacke.h:119
lapack_logical LAPACKE_sge_nancheck(int matrix_order, lapack_int m, lapack_int n, const float *a, lapack_int lda)
set ue cd $ADTTMP cat<< EOF > tmp c void LAPACKE_xerbla(const char *name, lapack_int info)
Definition: xerbla-c:8

Here is the call graph for this function: