1 #ifndef KARHUNENLOEVEFACTORY_H
2 #define KARHUNENLOEVEFACTORY_H
7 #include <boost/property_tree/ptree.hpp>
14 namespace Approximation
23 template<
typename KernelType>
28 void Compute(Eigen::VectorXd
const& p0,
29 Eigen::VectorXd
const& p1,
30 Eigen::VectorXi
const& ns,
31 boost::property_tree::ptree options = boost::property_tree::ptree());
KarhunenLoeveFactory(KernelType &kernelIn)
static std::vector< std::shared_ptr< KernelBase > > SeparateKernel(std::shared_ptr< KernelBase > kernel)
std::shared_ptr< KernelBase > kernel
std::vector< std::shared_ptr< KernelBase > > kernelParts
Eigen::VectorXd GetWeights() const
void Compute(Eigen::VectorXd const &p0, Eigen::VectorXd const &p1, Eigen::VectorXi const &ns, boost::property_tree::ptree options=boost::property_tree::ptree())
Eigen::MatrixXd GetModes() const