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));
83 pRC::Tensor<T2, Ns...> const &
x,
pRC::Index const &
i)
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
int i
Definition gmock-matchers-comparisons_test.cc:603
int x
Definition gmock-matchers-containers_test.cc:376
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(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 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
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
Restrict
Definition restrict.hpp:9
Hint
Definition hint.hpp:9
Transform
Definition transform.hpp:9
Definition cholesky.hpp:10
Size Index
Definition basics.hpp:32
std::size_t Size
Definition basics.hpp:31
static constexpr auto chip(Sequence< T, Is... > const)
Definition sequence.hpp:584
static constexpr auto range(F &&f, Xs &&...args)
Definition range.hpp:18
static constexpr auto zero()
Definition zero.hpp:12