17 return gauss->ApplyPrecision(x);
19 return gauss->ApplyCovariance(x);
virtual Eigen::MatrixXd Apply(Eigen::Ref< const Eigen::MatrixXd > const &x) override
GaussianOperator(std::shared_ptr< GaussianBase > const &gaussIn, Gaussian::Mode precOrCovIn)
std::shared_ptr< GaussianBase > gauss
virtual Eigen::MatrixXd ApplyTranspose(Eigen::Ref< const Eigen::MatrixXd > const &x) override
Mode
Are we specifying the mean, covariance matrix, or precision matrix.
@ Precision
We are specifying the precision.
Generic linear operator base class.