Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
#include <partition.h>
Public Member Functions | |
Partition (int order, int const *lens) | |
~Partition () | |
Partition (Partition const &other) | |
Partition () | |
Idx_Partition | operator[] (char const *idx) |
void | operator= (Partition const &other) |
Data Fields | |
int | order |
int * | lens |
Definition at line 14 of file partition.h.
CTF::Partition::Partition | ( | int | order, |
int const * | lens | ||
) |
Definition at line 5 of file partition.cxx.
References CTF_int::alloc(), lens, and order.
CTF::Partition::~Partition | ( | ) |
Definition at line 16 of file partition.cxx.
References CTF_int::cdealloc(), and lens.
CTF::Partition::Partition | ( | Partition const & | other | ) |
Definition at line 20 of file partition.cxx.
References CTF_int::alloc(), lens, and order.
CTF::Partition::Partition | ( | ) |
Definition at line 11 of file partition.cxx.
Referenced by CTF::Idx_Partition::Idx_Partition(), and CTF::Idx_Partition::reduce_order().
void CTF::Partition::operator= | ( | Partition const & | other | ) |
Definition at line 26 of file partition.cxx.
References CTF_int::alloc(), lens, and order.
Idx_Partition CTF::Partition::operator[] | ( | char const * | idx | ) |
Definition at line 33 of file partition.cxx.
int* CTF::Partition::lens |
Definition at line 17 of file partition.h.
Referenced by operator=(), Partition(), CTF_int::tensor::set_distribution(), and ~Partition().
int CTF::Partition::order |
Definition at line 16 of file partition.h.
Referenced by ctf.core.tensor::__get__(), ctf.core.tensor::__getitem__(), ctf.core.tensor::__setitem__(), ctf.core.tensor::i(), operator=(), Partition(), ctf.core.tensor::permute(), CTF_int::tensor::set_distribution(), and ctf.core.tensor::transpose().