MUQ  0.4.3
muq::Approximation::LinearMean Class Reference

#include <GaussianProcess.h>

Inheritance diagram for muq::Approximation::LinearMean:

Detailed Description

Definition at line 133 of file GaussianProcess.h.

Public Member Functions

 LinearMean (double slope, double intercept)
 
virtual ~LinearMean ()=default
 
 LinearMean (Eigen::MatrixXd const &slopesIn, Eigen::VectorXd const &interceptsIn)
 
virtual std::shared_ptr< MeanFunctionBaseClone () const override
 
virtual Eigen::MatrixXd Evaluate (Eigen::MatrixXd const &xs) const override
 
virtual Eigen::MatrixXd GetDerivative (Eigen::MatrixXd const &xs, std::vector< std::vector< int >> const &derivCoords) const override
 
- Public Member Functions inherited from muq::Approximation::MeanFunctionBase
 MeanFunctionBase (unsigned dimIn, unsigned coDimIn)
 
virtual ~MeanFunctionBase ()=default
 
virtual std::shared_ptr< MeanFunctionBaseGetPtr ()
 

Additional Inherited Members

- Public Attributes inherited from muq::Approximation::MeanFunctionBase
const unsigned inputDim
 
const unsigned coDim
 

Constructor & Destructor Documentation

◆ LinearMean() [1/2]

muq::Approximation::LinearMean::LinearMean ( double  slope,
double  intercept 
)
inline

Definition at line 137 of file GaussianProcess.h.

◆ ~LinearMean()

virtual muq::Approximation::LinearMean::~LinearMean ( )
virtualdefault

◆ LinearMean() [2/2]

muq::Approximation::LinearMean::LinearMean ( Eigen::MatrixXd const &  slopesIn,
Eigen::VectorXd const &  interceptsIn 
)
inline

Definition at line 141 of file GaussianProcess.h.

Member Function Documentation

◆ Clone()

virtual std::shared_ptr<MeanFunctionBase> muq::Approximation::LinearMean::Clone ( ) const
inlineoverridevirtual

Implements muq::Approximation::MeanFunctionBase.

Definition at line 146 of file GaussianProcess.h.

◆ Evaluate()

virtual Eigen::MatrixXd muq::Approximation::LinearMean::Evaluate ( Eigen::MatrixXd const &  xs) const
inlineoverridevirtual

Implements muq::Approximation::MeanFunctionBase.

Definition at line 151 of file GaussianProcess.h.

References intercepts, and slopes.

Referenced by GetDerivative().

◆ GetDerivative()

virtual Eigen::MatrixXd muq::Approximation::LinearMean::GetDerivative ( Eigen::MatrixXd const &  xs,
std::vector< std::vector< int >> const &  derivCoords 
) const
inlineoverridevirtual

Member Data Documentation

◆ intercepts

Eigen::VectorXd muq::Approximation::LinearMean::intercepts
private

Definition at line 174 of file GaussianProcess.h.

Referenced by Evaluate().

◆ slopes

Eigen::MatrixXd muq::Approximation::LinearMean::slopes
private

Definition at line 173 of file GaussianProcess.h.

Referenced by Evaluate(), and GetDerivative().


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