MUQ  0.4.3
muq::SamplingAlgorithms::ConcatenatingInterpolation Class Reference

A simple implementation concatenating coarse and fine sample vectors. More...

#include <ConcatenatingInterpolation.h>

Inheritance diagram for muq::SamplingAlgorithms::ConcatenatingInterpolation:

Detailed Description

A simple implementation concatenating coarse and fine sample vectors.

This interpolation takes the coarse sample vector and appends additional fine components from the fine sample. This behaviour matches the one assumed by the theoretical MLMCMC literature. Should be sufficient for most applications.

Definition at line 16 of file ConcatenatingInterpolation.h.

Public Member Functions

 ConcatenatingInterpolation (std::shared_ptr< muq::Utilities::MultiIndex > const &index)
 
virtual std::shared_ptr< SamplingStateInterpolate (std::shared_ptr< SamplingState > const &coarseProposal, std::shared_ptr< SamplingState > const &fineProposal) override
 
- Public Member Functions inherited from muq::SamplingAlgorithms::MIInterpolation
virtual ~MIInterpolation ()=default
 

Constructor & Destructor Documentation

◆ ConcatenatingInterpolation()

muq::SamplingAlgorithms::ConcatenatingInterpolation::ConcatenatingInterpolation ( std::shared_ptr< muq::Utilities::MultiIndex > const &  index)
inline

Definition at line 18 of file ConcatenatingInterpolation.h.

Member Function Documentation

◆ Interpolate()

virtual std::shared_ptr<SamplingState> muq::SamplingAlgorithms::ConcatenatingInterpolation::Interpolate ( std::shared_ptr< SamplingState > const &  coarseProposal,
std::shared_ptr< SamplingState > const &  fineProposal 
)
inlineoverridevirtual

Member Data Documentation

◆ index

std::shared_ptr<muq::Utilities::MultiIndex> muq::SamplingAlgorithms::ConcatenatingInterpolation::index
private

Definition at line 31 of file ConcatenatingInterpolation.h.


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