Sha256: 0f5c17c7f5e38c44d63c9bf559611811c392b9b305b238552d605d0dcde583c6

Contents?: true

Size: 522 Bytes

Versions: 4

Compression:

Stored size: 522 Bytes

Contents

//need to define a few things before including the real lapacke.h

#include "data/data.h" //needed because this is where our complex types are defined

//tell LAPACKE to use our complex types
#define LAPACK_COMPLEX_CUSTOM
#define lapack_complex_float nm::Complex64
#define lapack_complex_double nm::Complex128

//define name-mangling scheme for FORTRAN functions
//ADD_ means that the symbol dgemm_ is associated with the fortran
//function DGEMM
#define ADD_

//now we can include the real lapacke.h
#include "lapacke.h"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nmatrix-lapacke-0.2.4 ext/nmatrix_lapacke/lapacke_nmatrix.h
nmatrix-lapacke-0.2.3 ext/nmatrix_lapacke/lapacke_nmatrix.h
nmatrix-lapacke-0.2.1 ext/nmatrix_lapacke/lapacke_nmatrix.h
nmatrix-lapacke-0.2.0 ext/nmatrix_lapacke/lapacke_nmatrix.h