Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
CTF::Partition Class Reference

#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
 

Detailed Description

Definition at line 14 of file partition.h.

Constructor & Destructor Documentation

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.

References lens, and order.

Referenced by CTF::Idx_Partition::Idx_Partition(), and CTF::Idx_Partition::reduce_order().

Member Function Documentation

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.

Field Documentation

int* CTF::Partition::lens

Definition at line 17 of file partition.h.

Referenced by operator=(), Partition(), CTF_int::tensor::set_distribution(), and ~Partition().


The documentation for this class was generated from the following files: