NULAPACK
NUmerical Linear Algebra PACKage
Loading...
Searching...
No Matches
Macros | Typedefs
types.h File Reference
#include <stdint.h>
#include <inttypes.h>
#include <complex>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define complex_float_real(z)   (crealf(z))
 
#define complex_float_imag(z)   (cimagf(z))
 
#define complex_double_real(z)   (creal(z))
 
#define complex_double_imag(z)   (cimag(z))
 
#define FORTRAN_IFMT   PRId32
 
#define REAL   fortran_real
 
#define DOUBLE   fortran_double
 
#define COMPLEX   fortran_complex
 
#define DOUBLE_COMPLEX   fortran_double_complex
 
#define INTEGER   fortran_int
 
#define LOGICAL   fortran_logical
 
#define SUBROUTINE   inline void
 
#define fortran   extern "C" void
 

Typedefs

typedef std::complex< float > complex_float
 
typedef std::complex< double > complex_double
 
typedef int32_t fortran_int
 
typedef fortran_int fortran_logical
 
typedef float fortran_real
 
typedef double fortran_double
 
typedef complex_float fortran_complex
 
typedef complex_double fortran_double_complex
 
typedef fortran_logical(* SELECT_REAL_2) (const fortran_real *, const fortran_real *)
 
typedef fortran_logical(* SELECT_REAL_3) (const fortran_real *, const fortran_real *, const fortran_real *)
 
typedef fortran_logical(* SELECT_DOUBLE_2) (const fortran_double *, const fortran_double *)
 
typedef fortran_logical(* SELECT_DOUBLE_3) (const fortran_double *, const fortran_double *, const fortran_double *)
 
typedef fortran_logical(* SELECT_COMPLEX_1) (const fortran_complex *)
 
typedef fortran_logical(* SELECT_COMPLEX_2) (const fortran_complex *, const fortran_complex *)
 
typedef fortran_logical(* SELECT_DOUBLE_COMPLEX_1) (const fortran_double_complex *)
 
typedef fortran_logical(* SELECT_DOUBLE_COMPLEX_2) (const fortran_double_complex *, const fortran_double_complex *)
 

Macro Definition Documentation

◆ COMPLEX

#define COMPLEX   fortran_complex

Definition at line 81 of file types.h.

◆ complex_double_imag

#define complex_double_imag (   z)    (cimag(z))

Definition at line 58 of file types.h.

◆ complex_double_real

#define complex_double_real (   z)    (creal(z))

Definition at line 55 of file types.h.

◆ complex_float_imag

#define complex_float_imag (   z)    (cimagf(z))

Definition at line 52 of file types.h.

◆ complex_float_real

#define complex_float_real (   z)    (crealf(z))

Definition at line 49 of file types.h.

◆ DOUBLE

#define DOUBLE   fortran_double

Definition at line 80 of file types.h.

◆ DOUBLE_COMPLEX

#define DOUBLE_COMPLEX   fortran_double_complex

Definition at line 82 of file types.h.

◆ fortran

#define fortran   extern "C" void

Definition at line 99 of file types.h.

◆ FORTRAN_IFMT

#define FORTRAN_IFMT   PRId32

Definition at line 67 of file types.h.

◆ INTEGER

#define INTEGER   fortran_int

Definition at line 83 of file types.h.

◆ LOGICAL

#define LOGICAL   fortran_logical

Definition at line 84 of file types.h.

◆ REAL

#define REAL   fortran_real

Definition at line 79 of file types.h.

◆ SUBROUTINE

#define SUBROUTINE   inline void

Definition at line 96 of file types.h.

Typedef Documentation

◆ complex_double

typedef std::complex<double> complex_double

Definition at line 40 of file types.h.

◆ complex_float

typedef std::complex<float> complex_float

Definition at line 39 of file types.h.

◆ fortran_complex

Definition at line 75 of file types.h.

◆ fortran_double

typedef double fortran_double

Definition at line 74 of file types.h.

◆ fortran_double_complex

Definition at line 76 of file types.h.

◆ fortran_int

typedef int32_t fortran_int

Definition at line 66 of file types.h.

◆ fortran_logical

Definition at line 70 of file types.h.

◆ fortran_real

typedef float fortran_real

Definition at line 73 of file types.h.

◆ SELECT_COMPLEX_1

typedef fortran_logical(* SELECT_COMPLEX_1) (const fortran_complex *)

Definition at line 91 of file types.h.

◆ SELECT_COMPLEX_2

typedef fortran_logical(* SELECT_COMPLEX_2) (const fortran_complex *, const fortran_complex *)

Definition at line 92 of file types.h.

◆ SELECT_DOUBLE_2

typedef fortran_logical(* SELECT_DOUBLE_2) (const fortran_double *, const fortran_double *)

Definition at line 89 of file types.h.

◆ SELECT_DOUBLE_3

typedef fortran_logical(* SELECT_DOUBLE_3) (const fortran_double *, const fortran_double *, const fortran_double *)

Definition at line 90 of file types.h.

◆ SELECT_DOUBLE_COMPLEX_1

typedef fortran_logical(* SELECT_DOUBLE_COMPLEX_1) (const fortran_double_complex *)

Definition at line 93 of file types.h.

◆ SELECT_DOUBLE_COMPLEX_2

typedef fortran_logical(* SELECT_DOUBLE_COMPLEX_2) (const fortran_double_complex *, const fortran_double_complex *)

Definition at line 94 of file types.h.

◆ SELECT_REAL_2

typedef fortran_logical(* SELECT_REAL_2) (const fortran_real *, const fortran_real *)

Definition at line 87 of file types.h.

◆ SELECT_REAL_3

typedef fortran_logical(* SELECT_REAL_3) (const fortran_real *, const fortran_real *, const fortran_real *)

Definition at line 88 of file types.h.