11 MAT update(
const int mode) {
12 MAT H(this->m_ncp_factors.factor(mode));
13 MAT temp = H * this->gram_without_one +
EPSILON;
14 H = (H % this->ncp_mttkrp_t[mode].t()) / temp;
20 :
AUNTF(i_tensor, i_k, i_algo) {}
24 #endif // NTF_NTFMU_HPP_
Data is stored such that the unfolding is column major.
ncp_factors contains the factors of the ncp every ith factor is of size n_i * k number of factors is ...
NTFMU(const Tensor &i_tensor, const int i_k, algotype i_algo)