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
float real
Definition: datatypes.h:10
int ftnlen
Definition: datatypes.h:14
doublereal r
Definition: datatypes.h:13
Definition: main.h:100
int logical
Definition: datatypes.h:15
double doublereal
Definition: datatypes.h:11
int integer
Definition: datatypes.h:8
unsigned int uinteger
Definition: datatypes.h:9
real r
Definition: datatypes.h:12


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:09