OpenFPM_pdata
4.1.0
Project that contain the implementation of distributed structures
Loading...
Searching...
No Matches
reduce_type.hpp
1
// This class define several reduce type
2
4
template
<
class
T>
5
struct
reduce_type
6
{
7
typedef
T type;
8
};
9
11
template
<>
struct
reduce_type
<float[]>
12
{
14
typedef
float
type
;
15
};
16
18
template
<>
struct
reduce_type
<double[]>
19
{
21
typedef
double
type
;
22
};
23
25
template
<>
struct
reduce_type
<int[]>
26
{
28
typedef
int
type
;
29
};
reduce_type< double[]>::type
double type
define the double
Definition
reduce_type.hpp:21
reduce_type< float[]>::type
float type
define the float
Definition
reduce_type.hpp:14
reduce_type< int[]>::type
int type
define the int
Definition
reduce_type.hpp:28
reduce_type
In general a reduction of a type T produce a type T.
Definition
reduce_type.hpp:6
openfpm_data
src
reduce_type.hpp
Generated by
1.9.8