datatypes.h
Go to the documentation of this file.
1 /* This contains a limited subset of the typedefs exposed by f2c
2  for use by the Eigen BLAS C-only implementation.
3 */
4 
5 #ifndef __EIGEN_DATATYPES_H__
6 #define __EIGEN_DATATYPES_H__
7 
8 typedef int integer;
9 typedef unsigned int uinteger;
10 typedef float real;
11 typedef double doublereal;
12 typedef struct { real r, i; } complex;
13 typedef struct { doublereal r, i; } doublecomplex;
14 typedef int ftnlen;
15 typedef int logical;
16 
17 #define abs(x) ((x) >= 0 ? (x) : -(x))
18 #define dabs(x) (doublereal)abs(x)
19 #define min(a,b) ((a) <= (b) ? (a) : (b))
20 #define max(a,b) ((a) >= (b) ? (a) : (b))
21 #define dmin(a,b) (doublereal)min(a,b)
22 #define dmax(a,b) (doublereal)max(a,b)
23 
24 #endif
doublecomplex
Definition: datatypes.h:13
real
float real
Definition: datatypes.h:10
ftnlen
int ftnlen
Definition: datatypes.h:14
doublereal
double doublereal
Definition: datatypes.h:11
doublecomplex::r
doublereal r
Definition: datatypes.h:13
integer
int integer
Definition: datatypes.h:8
complex::r
real r
Definition: datatypes.h:12
logical
int logical
Definition: datatypes.h:15
uinteger
unsigned int uinteger
Definition: datatypes.h:9
real
Definition: main.h:100
i
int i
Definition: BiCGSTAB_step_by_step.cpp:9
complex
Definition: datatypes.h:12


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:10