34 #define INLINE_PREFIX static extern "C" 36 #define INLINE_PREFIX static 41 #define HEADER_PREFIX extern "C" 48 #define IMPORT_PREFIX extern "C" 58 typedef unsigned short bool;
61 extern const bool true;
64 extern const bool false;
76 extern const int i_one;
123 #define H2_CHECK_TOLERANCE 1.0e-6 126 #define H2_ALMOST_ZERO 1e-30 129 #define H2_CHECK_TOLERANCE 1.0e-12 132 #define H2_ALMOST_ZERO 1e-300 139 #define SCANF_PREFIX "" 141 #define SCANF_PREFIX "l" 165 typedef float _Complex
field;
173 typedef double field;
213 extern const char *_h2_ntrans;
216 extern const char *_h2_trans;
221 extern const char *_h2_adj;
225 extern const char *_h2_left;
229 extern const char *_h2_right;
233 extern const char *_h2_lower;
237 extern const char *_h2_upper;
241 extern const char *_h2_unit;
245 extern const char *_h2_nonunit;
249 extern const char *_h2_vectors;
253 extern const char *_h2_skinnyvectors;
257 extern const char *_h2_novectors;
270 #define FIELD_CS(format, cs) "%" #format #cs " + %" #format #cs "i" 272 #define FIELD_CS(format, cs) "%" #format #cs 276 #define FIELD_CS(format, cs) "%" #format #cs " + %" #format #cs "i" 278 #define FIELD_CS(format, cs) "%" #format #cs 288 #define FIELD_SCANF_CS(format, cs) "%" #format #cs " + %" #format #cs "i" 290 #define FIELD_SCANF_CS(format, cs) "%" #format #cs 294 #define FIELD_SCANF_CS(format, cs) "%l" #format #cs " + %l" #format #cs "i" 296 #define FIELD_SCANF_CS(format, cs) "%l" #format #cs 305 #define FIELD_ARG(z) crealf(z), cimagf(z) 307 #define FIELD_ARG(z) z 311 #define FIELD_ARG(z) creal(z), cimag(z) 313 #define FIELD_ARG(z) z 323 #define FIELD_ADDR(z) (real*)(z), ((real*)(z)+1) 325 #define FIELD_ADDR(z) (real*)(z) 329 #define FIELD_ADDR(z) (real*)(z), ((real*)(z)+1) 331 #define FIELD_ADDR(z) (real*)(z) size_t longindex
Unsigned long type.
Definition: settings.h:88
const field f_zero
field constant zero
const uint u_zero
Unsigned integer constant zero.
unsigned uint
Unsigned integer type.
Definition: settings.h:70
unsigned short bool
Boolean type.
Definition: settings.h:58
const real r_zero
real constant zero
const int i_zero
Signed integer constant zero.
double _Complex field
Field type.
Definition: settings.h:171
Enum value representing an sparsematrix.
Definition: settings.h:348
const field f_i
field constant for the imaginary number.
const uint u_one
Unsigned integer constant one.
Enum value representing an dh2matrix.
Definition: settings.h:350
const int i_one
Signed integer constant one.
const field f_minusone
field constant minus one.
double real
real floating point type.
Definition: settings.h:97
Enum value representing an amatrix.
Definition: settings.h:342
const field f_one
field constant one.
real * preal
Pointer to real array.
Definition: settings.h:145
Enum value representing an h2matrix.
Definition: settings.h:346
const real r_minusone
real constant minus one.
const real r_one
real constant one.
field * pfield
Pointer to field array.
Definition: settings.h:185
Enum value representing an hmatrix.
Definition: settings.h:344
const field * pcfield
Pointer to constant field array.
Definition: settings.h:188
matrixtype
All possible types of matrices.
Definition: settings.h:340
const real * pcreal
Pointer to constant real array.
Definition: settings.h:148