|
| | ValleePoussinKernel (double a=1.0, double b=1.0) |
| | Construct a new ValleePoussinKernel object with the given parameters.
|
| |
| bool | is_stationary () const override |
| | Check whether the kernel is is stationary.
|
| |
| double | a () const |
| | Get read-only access to the a parameter of the kernel.
|
| |
| double | b () const |
| | Get read-only access to the b parameter of the kernel.
|
| |
| double | get_d (Parameter parameter) const override |
| | Get the value of the specified parameter.
|
| |
| void | set (Parameter parameter, double value) override |
| | Set the parameter to the indicated value.
|
| |
| std::unique_ptr< Kernel > | clone () const override |
| | Clone the kernel.
|
| |
| std::string | to_string () const override |
| | Get string representation of the kernel.
|
| |
| template<class DerivedX, class DerivedY> |
| Matrix | operator() (const MatrixBase< DerivedX > &x1, const MatrixBase< DerivedY > &x2) const |
| | Compute the kernel function on \( x_1 \) and \( x_2 \), both being matrices of row vectors in \( \texttip{\mathcal{X}}{Polish sample vector space} \subseteq \mathbb{R}^d \),.
|
| |
| template<class Derived> |
| Matrix | operator() (const MatrixBase< Derived > &x) const |
| | Compute the kernel function on \( \texttip{x}{Element of the vector space} \), which is a matrix of row vectors in \( \texttip{\mathcal{X}}{Polish sample vector space} \subseteq \mathbb{R}^d \),.
|
| |
| template<class Derived> |
| Matrix | operator() (const MatrixBase< Derived > &x, std::vector< Matrix > &gradient) const |
| | Compute the kernel function on \( \texttip{x}{Element of the vector space} \), which is a matrix of row vectors in \( \texttip{\mathcal{X}}{Polish sample vector space} \subseteq \mathbb{R}^d \),.
|
| |
| template<IsAnyOf< int, double, const Vector & > T> |
| T | get (Parameter parameter) const |
| | Get the value of the specified parameter.
|
| |
| template<Parameter P> |
| internal::ParameterType< P >::ref_type | get () const |
| | Get the value of the specified parameter.
|
| |
| std::variant< int, double, Vector > | get (Parameter parameter) const |
| | Get the value of the specified parameter.
|
| |
| void | set (Parameter parameter, const std::variant< int, double, Vector > &value) |
| | Set the parameter to the indicated value.
|
| |
| template<Parameter P> |
| void | set (const std::variant< int, double, Vector > &value) |
| | Set the parameter to the indicated value.
|
| |
| void | set (Parameter parameter, std::size_t idx, const std::variant< std::vector< int >, std::vector< double >, std::vector< Vector > > &values) |
| | Set the parameter to the index-th value among the indicated values.
|
| |
| template<Parameter P> |
| void | set (std::size_t idx, const std::variant< std::vector< int >, std::vector< double >, std::vector< Vector > > &values) |
| | Set the parameter to the index-th value among the indicated values.
|
| |
| virtual void | set (Parameter parameter, int value) |
| | Set the parameter to the indicated value.
|
| |
| virtual void | set (Parameter parameter, const Vector &value) |
| | Set the parameter to the indicated value.
|
| |
| template<Parameter P> |
| void | set (typename internal::ParameterType< P >::ref_type value) |
| | Set the parameter to the indicated value.
|
| |
| bool | has (const Parameter parameter) const |
| | Check whether the parameter is present in this object.
|
| |
| Parameters | parameters () const |
| | Get read-only access to the parameters of the parametrizable object.
|
| |
| std::vector< Parameter > | parameters_list () const |
| | Get read-only access to the list of parameters of the parametrizable object.
|
| |
| Parametrizable & | load (const Parametrizable &o) |
| | Load parameters from another Parametrizable object.
|
| |
Vallée-Poussin kernel.
Given a vector space \( \texttip{\mathcal{X}}{Polish sample vector space} \subseteq \mathbb{R}^n \) and a vector \( x \in \mathcal{X} \), the Vallee-Poussin kernel \( k_{a,b}^n : \mathcal{X} \to \mathbb{R} \) with parameters \( a, b \in \mathbb{R} \) is defined as
\[k_{a,b}^n(x) = \frac{1}{(b - a)^n} \prod_{i=1}^{n} \frac{
\sin\left( \frac{b + a}{2} x_i \right)
\sin\left( \frac{b - a}{2} x_i \right)
}{
\sin^2{\left( \frac{x_i}{2} \right)}
}
\]