Loading...
Searching...
No Matches
gpr::bo::SumRadial< Left, Right > Class Template Reference

f + g on one squared distance. More...

#include <gpr/bo/StationaryKernel.h>

Public Member Functions

 SumRadial (Left left, Right right)
double operator() (double squared_distance) const
double derivative (double squared_distance) const
double secondDerivative (double squared_distance) const

Detailed Description

template<typename Left, typename Right>
class gpr::bo::SumRadial< Left, Right >

f + g on one squared distance.

Definition at line 623 of file StationaryKernel.h.

Constructor & Destructor Documentation

◆ SumRadial()

template<typename Left, typename Right>
gpr::bo::SumRadial< Left, Right >::SumRadial ( Left left,
Right right )
inline

Definition at line 625 of file StationaryKernel.h.

626 : left_(std::move(left)), right_(std::move(right))
627 {
628 }
f + g on one squared distance.

Member Function Documentation

◆ derivative()

template<typename Left, typename Right>
double gpr::bo::SumRadial< Left, Right >::derivative ( double squared_distance) const
inlinenodiscard

Definition at line 635 of file StationaryKernel.h.

636 {
637 return left_.derivative(squared_distance) +
638 right_.derivative(squared_distance);
639 }

◆ operator()()

template<typename Left, typename Right>
double gpr::bo::SumRadial< Left, Right >::operator() ( double squared_distance) const
inline

Definition at line 630 of file StationaryKernel.h.

631 {
632 return left_(squared_distance) + right_(squared_distance);
633 }

◆ secondDerivative()

template<typename Left, typename Right>
double gpr::bo::SumRadial< Left, Right >::secondDerivative ( double squared_distance) const
inlinenodiscard

Definition at line 641 of file StationaryKernel.h.

642 {
643 return left_.secondDerivative(squared_distance) +
644 right_.secondDerivative(squared_distance);
645 }

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