MUQ  0.4.3
muq::Approximation::KarhunenLoeveFactory Class Reference

#include <KarhunenLoeveFactory.h>

Detailed Description

Definition at line 18 of file KarhunenLoeveFactory.h.

Public Member Functions

template<typename KernelType >
 KarhunenLoeveFactory (KernelType &kernelIn)
 
 KarhunenLoeveFactory (std::shared_ptr< KernelBase > kernelIn)
 
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
 
Eigen::VectorXd GetWeights () const
 

Constructor & Destructor Documentation

◆ KarhunenLoeveFactory() [1/2]

template<typename KernelType >
muq::Approximation::KarhunenLoeveFactory::KarhunenLoeveFactory ( KernelType &  kernelIn)
inline

Definition at line 24 of file KarhunenLoeveFactory.h.

◆ KarhunenLoeveFactory() [2/2]

KarhunenLoeveFactory::KarhunenLoeveFactory ( std::shared_ptr< KernelBase kernelIn)

Definition at line 10 of file KarhunenLoeveFactory.cpp.

Member Function Documentation

◆ Compute()

void KarhunenLoeveFactory::Compute ( Eigen::VectorXd const &  p0,
Eigen::VectorXd const &  p1,
Eigen::VectorXi const &  ns,
boost::property_tree::ptree  options = boost::property_tree::ptree() 
)

Definition at line 17 of file KarhunenLoeveFactory.cpp.

◆ GetModes()

Eigen::MatrixXd muq::Approximation::KarhunenLoeveFactory::GetModes ( ) const

◆ GetWeights()

Eigen::VectorXd muq::Approximation::KarhunenLoeveFactory::GetWeights ( ) const

◆ SeparateKernel()

static std::vector<std::shared_ptr<KernelBase> > muq::Approximation::KarhunenLoeveFactory::SeparateKernel ( std::shared_ptr< KernelBase kernel)
staticprivate

Member Data Documentation

◆ kernel

std::shared_ptr<KernelBase> muq::Approximation::KarhunenLoeveFactory::kernel
private

Definition at line 37 of file KarhunenLoeveFactory.h.

◆ kernelParts

std::vector<std::shared_ptr<KernelBase> > muq::Approximation::KarhunenLoeveFactory::kernelParts
private

Definition at line 40 of file KarhunenLoeveFactory.h.

◆ modes

Eigen::MatrixXd muq::Approximation::KarhunenLoeveFactory::modes
private

Definition at line 42 of file KarhunenLoeveFactory.h.

◆ weights

Eigen::VectorXd muq::Approximation::KarhunenLoeveFactory::weights
private

Definition at line 43 of file KarhunenLoeveFactory.h.


The documentation for this class was generated from the following files: