Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
partition.h
Go to the documentation of this file.
1 #ifndef __PARTITION_H__
2 #define __PARTITION_H__
3 
4 
5 namespace CTF {
6 
12  class Idx_Partition;
13 
14  class Partition {
15  public:
16  int order;
17  int * lens;
18 
19  Partition(int order, int const * lens);
20  ~Partition();
21  Partition(Partition const & other);
22  Partition();
23 
24  Idx_Partition operator[](char const * idx);
25  void operator=(Partition const & other);
26  };
27 
28  class Idx_Partition {
29  public:
31  char * idx;
32  Idx_Partition();
33  ~Idx_Partition();
34  Idx_Partition(Partition const & part, char const * idx);
35 
40  Idx_Partition reduce_order() const;
41  };
42 
46 }
47 
48 #endif
void operator=(Partition const &other)
Definition: partition.cxx:26
Partition part
Definition: partition.h:30
Idx_Partition operator[](char const *idx)
Definition: partition.cxx:33
Definition: apsp.cxx:17