LAPACK  3.5.0
LAPACK: Linear Algebra PACKage
 All Classes Files Functions Variables Typedefs Macros
xerbla-c File Reference
#include <stdio.h>
#include <lapacke.h>
Include dependency graph for xerbla-c:

Go to the source code of this file.

Functions

set ue cd $ADTTMP cat<< EOF >
tmp c void 
LAPACKE_xerbla (const char *name, lapack_int info)
 
int main (int argc, const char *argv[])
 

Function Documentation

set ue cd $ADTTMP cat<< EOF > tmp c void LAPACKE_xerbla ( const char *  name,
lapack_int  info 
)

Definition at line 8 of file xerbla-c.

9 {
10  if( info < 0 ) {
11  printf( "OVERRIDE SUCCESSFUL override %d in %s\n", -(int) info, name );
12  }
13 }
int main ( int  argc,
const char *  argv[] 
)

Definition at line 16 of file xerbla-c.

17 {
18  double a[5][3] = {1,1,1,2,3,4,3,5,2,4,2,5,5,4,3};
19  double b[5][2] = {-10,-3,12,14,14,12,16,16,18,16};
20  lapack_int info,m,n,lda,ldb,nrhs;
21  int i,j;
22 
23  m = 5;
24  n = 9;
25  nrhs = 2;
26  lda = 3;
27  ldb = 2;
28 
29  info = LAPACKE_dgels(LAPACK_ROW_MAJOR,'N',m,n,nrhs,*a,lda,*b,ldb);
30  return(info);
31 }
lapack_int LAPACKE_dgels(int matrix_order, char trans, lapack_int m, lapack_int n, lapack_int nrhs, double *a, lapack_int lda, double *b, lapack_int ldb)
Definition: lapacke_dgels.c:36
set ue cd $ADTTMP cat<< EOF > tmp f Program LinearEquations Implicit none Real b(3) integer i
#define LAPACK_ROW_MAJOR
Definition: lapacke.h:119
set ue cd $ADTTMP cat<< EOF > tmp f Program LinearEquations Implicit none Real j
Definition: xerbla-fortran:9
#define lapack_int
Definition: lapacke.h:47

Here is the call graph for this function: