-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrawtype.h
More file actions
26 lines (21 loc) · 701 Bytes
/
rawtype.h
File metadata and controls
26 lines (21 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Note: Define rawtype to be the type you need to transpose */
#ifndef _RAWTYPE_PART_DECLARED_
/* Use the following if you want to transform doubles */
/* typedef double rawtype_part; */
typedef float rawtype_part;
#define _RAWTYPE_PART_DECLARED_
#endif /* _RAWTYPE_PART_DECLARED_ */
/* Declare a floating point complex type */
#ifndef _FCOMPLEX_DECLARED_
typedef struct FCOMPLEX {
rawtype_part r, i;
} fcomplex;
#define _FCOMPLEX_DECLARED_
#endif /* _FCOMPLEX_DECLARED_ */
/* Declare rawtype as fcomplex */
#ifndef _RAWTYPE_DECLARED_
typedef fcomplex rawtype;
typedef rawtype TOMS_el_type;
#define MPI_rawtype fcomplextype
#define _RAWTYPE_DECLARED_
#endif /* _RAWTYPE_DECLARED_ */