10 const Eigen::Vector2d sigmaBounds) :
ConstantKernel(dim, sigma2In*Eigen::MatrixXd::Ones(1,1), sigmaBounds){};
13 std::vector<unsigned> dimInds,
14 const double sigma2In,
15 const Eigen::Vector2d sigmaBounds) :
ConstantKernel(dim, dimInds, sigma2In*Eigen::MatrixXd::Ones(1,1), sigmaBounds){};
19 Eigen::MatrixXd
const& sigma2In,
28 for(
int i=0; i<sigma2In.rows(); ++i){
29 for(
int j=0; j<=i; ++j){
37 std::vector<unsigned> dimInds,
38 Eigen::MatrixXd
const& sigma2In,
39 const Eigen::Vector2d sigmaBounds) :
KernelImpl<
ConstantKernel>(dim, dimInds, sigma2In.rows(), GetNumParams(sigma2In))
47 for(
int i=0; i<sigma2In.rows(); ++i){
48 for(
int j=0; j<=i; ++j){
56 std::tuple<std::shared_ptr<muq::Modeling::LinearSDE>, std::shared_ptr<muq::Modeling::LinearOperator>, Eigen::MatrixXd>
ConstantKernel::GetStateSpace(boost::property_tree::ptree sdeOptions)
const
58 std::shared_ptr<muq::Modeling::LinearOperator>
id = std::make_shared<muq::Modeling::IdentityOperator>(
coDim);
62 FillBlockImpl<double,double,double>(x,x,
cachedParams, marginalVar);
64 boost::property_tree::ptree options;
65 options.put(
"SDE.dt", 1e6);
67 std::shared_ptr<muq::Modeling::LinearOperator> zo = std::make_shared<muq::Modeling::ZeroOperator>(
coDim,
coDim);
68 auto sde = std::make_shared<muq::Modeling::LinearSDE>(zo, options);
70 return std::make_tuple(sde,
id, marginalVar);
virtual std::tuple< std::shared_ptr< muq::Modeling::LinearSDE >, std::shared_ptr< muq::Modeling::LinearOperator >, Eigen::MatrixXd > GetStateSpace(boost::property_tree::ptree sdeOptions=boost::property_tree::ptree()) const override
Returns a state space representation of the covariance kernel.
ConstantKernel(unsigned dim, const double sigma2In, const Eigen::Vector2d sigmaBounds={0.0, std::numeric_limits< double >::infinity()})
const unsigned int inputDim
const unsigned int numParams
Eigen::VectorXd cachedParams
Eigen::MatrixXd paramBounds
Base class in CRTP pattern for covariance kernels.