|
Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
Data Structures | |
| class | CTF::Matrix< dtype > |
| Matrix class which encapsulates a 2D tensor. More... | |
| class | CTF::Scalar< dtype > |
| Scalar class which encapsulates a 0D tensor. More... | |
| class | CTF::Sparse_Tensor< dtype > |
| a sparse subset of a tensor More... | |
| class | CTF::Pair< dtype > |
| index-value pair used for tensor data input More... | |
| class | CTF::Tensor< dtype > |
| an instance of a tensor within a CTF world More... | |
| class | CTF::Vector< dtype > |
| Vector class which encapsulates a 1D tensor. More... | |
Enumerations | |
| enum | CTF::OP { CTF::OP_SUM, CTF::OP_SUMABS, CTF::OP_SUMSQ, CTF::OP_MAX, CTF::OP_MIN, CTF::OP_MAXABS, CTF::OP_MINABS } |
| reduction types for tensor data deprecated types: OP_NORM1=OP_SUMABS, OP_NORM2=call norm2(), OP_NORM_INFTY=OP_MAXABS More... | |
Functions | |
| template<typename dtype > | |
| bool | CTF::comp_pair (Pair< dtype > i, Pair< dtype > j) |
| CTF::Vector< dtype >::Vector () | |
| default constructor for a vector More... | |
| CTF::Vector< dtype >::Vector (Vector< dtype > const &A) | |
| copy constructor for a matrix More... | |
| CTF::Vector< dtype >::Vector (Tensor< dtype > const &A) | |
| casts a tensor to a matrix More... | |
| CTF::Vector< dtype >::Vector (int len, World &world, CTF_int::algstrct const &sr) | |
| constructor for a vector More... | |
| CTF::Vector< dtype >::Vector (int len, World &world=get_universe(), char const *name=NULL, int profile=0, CTF_int::algstrct const &sr=Ring< dtype >()) | |
| constructor for a vector More... | |
| CTF::Vector< dtype >::Vector (int len, int atr, World &world=get_universe(), CTF_int::algstrct const &sr=Ring< dtype >()) | |
| constructor for a vector More... | |
| CTF::Vector< dtype >::Vector (int len, int atr, World &world, char const *name, int profile=0, CTF_int::algstrct const &sr=Ring< dtype >()) | |
| constructor for a vector More... | |
Variables | |
| int | CTF::DGTOG_SWITCH = 1 |
| int | CTF::Vector< dtype >::len |
| enum CTF::OP |
Definition at line 64 of file tensor.h.
References CTF::Pair< dtype >::k.
| CTF::Vector< dtype >::Vector | ( | ) |
default constructor for a vector
Definition at line 20 of file vector.cxx.
| CTF::Vector< dtype >::Vector | ( | Tensor< dtype > const & | A | ) |
casts a tensor to a matrix
| [in] | A | tensor object of order 1 |
Definition at line 29 of file vector.cxx.
References IASSERT, CTF::Vector< dtype >::len, CTF_int::tensor::lens, and CTF_int::tensor::order.
| CTF::Vector< dtype >::Vector | ( | Vector< dtype > const & | A | ) |
copy constructor for a matrix
| [in] | A | matrix to copy along with its data |
Definition at line 23 of file vector.cxx.
References CTF::Vector< dtype >::len.
| CTF::Vector< dtype >::Vector | ( | int | len, |
| World & | world, | ||
| CTF_int::algstrct const & | sr | ||
| ) |
constructor for a vector
| [in] | len | dimension of vector |
| [in] | world | CTF world where the tensor will live |
| [in] | sr | defines the tensor arithmetic for this tensor |
Definition at line 36 of file vector.cxx.
References CTF::Vector< dtype >::len.
| CTF::Vector< dtype >::Vector | ( | int | len, |
| World & | world = get_universe(), |
||
| char const * | name = NULL, |
||
| int | profile = 0, |
||
| CTF_int::algstrct const & | sr = Ring<dtype>() |
||
| ) |
constructor for a vector
| [in] | len | dimension of vector |
| [in] | world | CTF world where the tensor will live |
| [in] | name | an optionary name for the tensor |
| [in] | profile | set to 1 to profile contractions involving this tensor |
| [in] | sr | defines the tensor arithmetic for this tensor |
Definition at line 44 of file vector.cxx.
References CTF::Vector< dtype >::len.
| CTF::Vector< dtype >::Vector | ( | int | len, |
| int | atr, | ||
| World & | world = get_universe(), |
||
| CTF_int::algstrct const & | sr = Ring<dtype>() |
||
| ) |
constructor for a vector
| [in] | len | dimension of vector |
| [in] | atr | quantifier for sparsity and symmetry of matrix (0 -> dense, >0 -> sparse) |
| [in] | world | CTF world where the tensor will live |
| [in] | sr | defines the tensor arithmetic for this tensor |
Definition at line 65 of file vector.cxx.
References CTF::Vector< dtype >::len.
| CTF::Vector< dtype >::Vector | ( | int | len, |
| int | atr, | ||
| World & | world, | ||
| char const * | name, | ||
| int | profile = 0, |
||
| CTF_int::algstrct const & | sr = Ring<dtype>() |
||
| ) |
constructor for a vector
| [in] | len | dimension of vector |
| [in] | atr | quantifier for sparsity and symmetry of matrix (0 -> dense, >0 -> sparse) |
| [in] | world | CTF world where the tensor will live |
Definition at line 54 of file vector.cxx.
References CTF::Vector< dtype >::len.
| int CTF::DGTOG_SWITCH = 1 |
Definition at line 12 of file common.cxx.
Referenced by bench_redistribution(), and CTF_redist_ror_isr_any::redist_bucket_ror().
| int CTF::Vector< dtype >::len |
Definition at line 16 of file vector.h.
Referenced by smooth_jacobi(), and CTF::Vector< dtype >::Vector().