| 21 |
|
#define RMF_SWAPIN 1 |
| 22 |
|
#define RMF_FREEMEM 2 |
| 23 |
|
|
| 24 |
< |
#define DTrmx_native DTdouble /* in-core data type */ |
| 24 |
> |
#ifndef MAXCOMP |
| 25 |
> |
#define MAXCOMP MAXCSAMP /* #components we support */ |
| 26 |
> |
#endif |
| 27 |
> |
/* Set in-core data type */ |
| 28 |
> |
#if !defined(DTrmx_native) || DTrmx_native==DTfloat |
| 29 |
> |
#define DTrmx_native DTfloat |
| 30 |
> |
#define rmx_dtype float |
| 31 |
> |
#define rmx_scanfmt "%f" |
| 32 |
> |
#elif DTrmx_native==DTdouble |
| 33 |
|
#define rmx_dtype double |
| 34 |
+ |
#define rmx_scanfmt "%lf" |
| 35 |
+ |
#endif |
| 36 |
|
|
| 37 |
|
/* General [row][col][cmp] component matrix */ |
| 38 |
|
typedef struct { |