Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
#include <decomposition.h>
Public Member Functions | |
HoSVD (Tensor< dtype > T, int *ranks) | |
HoSVD (int *lens, int *ranks) | |
Contract_Term | operator[] (char const *idx_map) |
associated an index map with the tensor decomposition for algebra More... | |
Data Fields | |
Tensor< dtype > | core_tensor |
std::vector< Matrix< dtype > > | factor_matrices |
Definition at line 21 of file decomposition.h.
CTF::HoSVD< dtype >::HoSVD | ( | Tensor< dtype > | T, |
int * | ranks | ||
) |
higher order singular value decomposition of a tensor
[in] | ranks | ranks(dimensions) of the core tensor and factor matrices |
Referenced by CTF::get_core_tensor().
void CTF::HoSVD< dtype >::HoSVD | ( | int * | lens, |
int * | ranks | ||
) |
initialize a higher order singular value decomposition of a tensor to zero
[in] | lens | ranks(dimensions) of the factored tensor |
[in] | ranks | ranks(dimensions) of the core tensor and factor matrices |
Definition at line 138 of file decomposition.cxx.
|
virtual |
associated an index map with the tensor decomposition for algebra
[in] | idx_map | index assignment for this tensor |
Implements CTF::Decomposition< dtype >.
Definition at line 21 of file decomposition.cxx.
References CTF::HoSVD< dtype >::core_tensor, and CTF::HoSVD< dtype >::factor_matrices.
Tensor<dtype> CTF::HoSVD< dtype >::core_tensor |
Definition at line 23 of file decomposition.h.
Referenced by CTF::get_core_tensor(), and CTF::HoSVD< dtype >::operator[]().
std::vector< Matrix<dtype> > CTF::HoSVD< dtype >::factor_matrices |
Definition at line 24 of file decomposition.h.
Referenced by CTF::get_core_tensor(), CTF::get_factor_matrices(), and CTF::HoSVD< dtype >::operator[]().