Represents a custom user-defined covariance function using std::function wrappers.
More...
|
| | Custom (const Custom &)=default |
| |
| | Custom (Custom &&)=default |
| |
| Custom & | operator= (const Custom &)=default |
| |
| Custom & | operator= (Custom &&)=default |
| |
| | Custom (std::function< double(const Eigen::VectorXd &, const Eigen::VectorXd &, const Eigen::VectorXd &)> eval, std::function< double(const Eigen::VectorXd &, const Eigen::VectorXd &, const Eigen::VectorXd &, const size_t &)> evalGradient, std::function< double(const Eigen::VectorXd &, const Eigen::VectorXd &, const Eigen::VectorXd &, const size_t &, const size_t &)> evalHessian) |
| | Constructs a custom covariance kernel with evaluation, gradient, and Hessian functions.
|
| |
| double | eval (const Eigen::VectorXd &x1, const Eigen::VectorXd &x2, const Eigen::VectorXd &par) const |
| | Evaluates the custom kernel.
|
| |
| double | evalGradient (const Eigen::VectorXd &x1, const Eigen::VectorXd &x2, const Eigen::VectorXd &par, const size_t &i) const |
| | Evaluates the custom kernel's gradient.
|
| |
| double | evalHessian (const Eigen::VectorXd &x1, const Eigen::VectorXd &x2, const Eigen::VectorXd &par, const size_t &i, const size_t &j) const |
| | Evaluates the custom kernel's Hessian.
|
| |
| std::shared_ptr< Custom > | make (std::function< double(const Eigen::VectorXd &, const Eigen::VectorXd &, const Eigen::VectorXd &)> eval, std::function< double(const Eigen::VectorXd &, const Eigen::VectorXd &, const Eigen::VectorXd &, const size_t &)> evalGradient, std::function< double(const Eigen::VectorXd &, const Eigen::VectorXd &, const Eigen::VectorXd &, const size_t &, const size_t &)> evalHessian) |
| | Factory method for creating a shared pointer to a custom covariance.
|
| |
| virtual | ~Covariance ()=default |
| |
|
| std::function< double(const Eigen::VectorXd &, const Eigen::VectorXd &, const Eigen::VectorXd &)> | eval_ |
| | Custom kernel evaluation function.
|
| |
| std::function< double(const Eigen::VectorXd &, const Eigen::VectorXd &, const Eigen::VectorXd &, const size_t &)> | evalGradient_ |
| | Custom gradient evaluation function.
|
| |
| std::function< double(const Eigen::VectorXd &, const Eigen::VectorXd &, const Eigen::VectorXd &, const size_t &, const size_t &)> | evalHessian_ |
| | Custom Hessian evaluation function.
|
| |
Represents a custom user-defined covariance function using std::function wrappers.