1 #ifndef __DECOMPOSITION_H__ 2 #define __DECOMPOSITION_H__ 8 void fold_unfold(Tensor<dtype>& X, Tensor<dtype>& Y);
10 template<
typename dtype>
17 virtual Contract_Term
operator[](
char const * idx_map) = 0;
20 template<
typename dtype>
37 HoSVD(
int * lens,
int * ranks);
43 Contract_Term
operator[](
char const * idx_map);
virtual Contract_Term operator[](char const *idx_map)=0
associated an index map with the tensor decomposition for algebra
Tensor< dtype > core_tensor
std::vector< Matrix< dtype > > factor_matrices
an instance of a tensor within a CTF world
void fold_unfold(Tensor< dtype > &X, Tensor< dtype > &Y)