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

#include <partition.h>

Collaboration diagram for CTF::Idx_Partition:

Public Member Functions

 Idx_Partition ()
 
 ~Idx_Partition ()
 
 Idx_Partition (Partition const &part, char const *idx)
 
Idx_Partition reduce_order () const
 extracts non-trivial part of partition by ommitting unit dimensions More...
 

Data Fields

Partition part
 
char * idx
 

Detailed Description

Definition at line 28 of file partition.h.

Constructor & Destructor Documentation

CTF::Idx_Partition::Idx_Partition ( )

Definition at line 37 of file partition.cxx.

References CTF::Partition::Partition().

CTF::Idx_Partition::~Idx_Partition ( )

Definition at line 48 of file partition.cxx.

CTF::Idx_Partition::Idx_Partition ( Partition const &  part,
char const *  idx 
)

Definition at line 42 of file partition.cxx.

Member Function Documentation

Idx_Partition CTF::Idx_Partition::reduce_order ( ) const

extracts non-trivial part of partition by ommitting unit dimensions

Returns
new partition with all dimensions non-unit

Definition at line 55 of file partition.cxx.

References CTF::Partition::Partition().

Referenced by CTF_int::tensor::set_distribution().

Field Documentation

char* CTF::Idx_Partition::idx

Definition at line 31 of file partition.h.

Referenced by CTF_int::tensor::set_distribution().

Partition CTF::Idx_Partition::part

Definition at line 30 of file partition.h.

Referenced by CTF_int::tensor::set_distribution().


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