3#ifndef cMHN_TT_MHN_OPERATOR_H
4#define cMHN_TT_MHN_OPERATOR_H
22 template<
class T, pRC::Size D>
36 return mBigTheta(i, j);
51 return log(mBigTheta(i, j));
56 return eval(log(mBigTheta));
65 [
this, &ret, i](
auto const j)
67 ret.template core<j>() = this->
core(i, j);
74 template<pRC::Index i>
75 constexpr auto core()
const
78 [&](
auto const... seq)
91 [
this, &ret, i, j](
auto const m)
93 ret.template core<m>() = this->
derivative(i, j, m);
124 c(0, 0, 0, 0) = -mBigTheta(i, i);
125 c(0, 1, 0, 0) = mBigTheta(i, i);
130 c(0, 1, 1, 0) = mBigTheta(i, j);
143 c(0, 0, 0, 0) = mBigTheta(i, m);
144 c(0, 1, 0, 0) = -mBigTheta(i, m);
148 c(0, 1, 1, 0) = mBigTheta(i, m);
155 c(0, 0, 0, 0) = mBigTheta(i, m);
156 c(0, 1, 0, 0) = -mBigTheta(i, m);
161 c(0, 1, 1, 0) = mBigTheta(i, m);
Class storing an MHN operator represented by a theta matrix (for TT calculations)
Definition mhn_operator.hpp:24
constexpr auto term(pRC::Index const i) const
Definition mhn_operator.hpp:61
constexpr auto smallTheta() const
Definition mhn_operator.hpp:54
auto & bigTheta()
Definition mhn_operator.hpp:44
constexpr auto & bigTheta() const
Definition mhn_operator.hpp:39
constexpr MHNOperator(pRC::Tensor< T, D, D > const &smallTheta)
Definition mhn_operator.hpp:29
constexpr auto & bigTheta(pRC::Index const i, pRC::Index const j) const
Definition mhn_operator.hpp:34
constexpr auto derivative(pRC::Index const i, pRC::Index const j) const
Definition mhn_operator.hpp:87
constexpr auto core() const
Definition mhn_operator.hpp:75
constexpr auto smallTheta(pRC::Index const i, pRC::Index const j) const
Definition mhn_operator.hpp:49
Definition sequence.hpp:56
Definition sequence.hpp:34
Definition type_traits.hpp:17
pRC::Float<> T
Definition externs_nonTT.hpp:1
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
Size Index
Definition type_traits.hpp:21
std::size_t Size
Definition type_traits.hpp:20