3#ifndef cMHN_NONTT_MHN_OPERATOR_H
4#define cMHN_NONTT_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));
pRC::Size const D
Definition CalculatePThetaTests.cpp:9
Class storing an MHN operator represented by a theta matrix (for non TT calculations)
Definition mhn_operator.hpp:24
constexpr auto smallTheta(pRC::Index const i, pRC::Index const j) const
Definition mhn_operator.hpp:49
auto & bigTheta()
Definition mhn_operator.hpp:44
constexpr auto & bigTheta(pRC::Index const i, pRC::Index const j) const
Definition mhn_operator.hpp:34
constexpr MHNOperator(pRC::Tensor< T, D, D > const &smallTheta)
Definition mhn_operator.hpp:29
constexpr auto smallTheta() const
Definition mhn_operator.hpp:54
constexpr auto & bigTheta() const
Definition mhn_operator.hpp:39
pRC::Float<> T
Definition externs_nonTT.hpp:1
static constexpr auto apply_offdiag(MHNOperator< T1, D > const &op, pRC::Tensor< T2, Ns... > const &x)
apply the off-diagonal part of Q or its transposed to a vector x, given an MHN Q
Definition mhn_operator.hpp:163
static constexpr auto apply(MHNOperator< T1, D > const &op, pRC::Tensor< T2, Ns... > const &x)
apply (1-Q) or its transposed to a vector x, given an MHN Q
Definition mhn_operator.hpp:218
static constexpr auto applyDerivative(MHNOperator< T1, D > const &op, pRC::Tensor< T2, Ns... > const &x, pRC::Index const &i)
apply the derivative of an MHN Q wrt to theta_ii to a vector x
Definition mhn_operator.hpp:82
static constexpr auto apply_diag(MHNOperator< T1, D > const &op, pRC::Tensor< T2, Ns... > const &x)
apply the diagonal part of (1-Q) to a vector x, given an MHN Q
Definition mhn_operator.hpp:120
Restrict
Definition restrict.hpp:11
Hint
Definition hint.hpp:9
Transform
Definition transform.hpp:11
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
Size Index
Definition type_traits.hpp:21
std::size_t Size
Definition type_traits.hpp:20
static constexpr auto zero()
Definition zero.hpp:12
std::enable_if_t< B{}, int > If
Definition type_traits.hpp:68
Constant< Bool, B > IsSatisfied
Definition type_traits.hpp:71