NiHu  2.0
NiHu::unit_kernel< Scalar > Class Template Reference

the unit kernel returning K(x,y) = 1 for all inputs More...

#include <unit_kernel.hpp>

Public Types

typedef kernel_base< unit_kernel< Scalar > > base_t
 the crtp base type
 
typedef base_t::scalar_t scalar_t
 the scalar type
 
typedef base_t::result_t result_t
 the result type
 
typedef base_t::test_input_t test_input_t
 the test input type
 
typedef base_t::trial_input_t trial_input_t
 the trial input type
 

Public Member Functions

constexpr result_t operator() (test_input_t const &, trial_input_t const &) const
 evaluate kernel at test and trial positions More...
 
constexpr unsigned estimate_complexity (test_input_t const &, trial_input_t const &, scalar_t const &) const
 evaluate kernel complexity More...
 

Detailed Description

template<class Scalar>
class NiHu::unit_kernel< Scalar >

the unit kernel returning K(x,y) = 1 for all inputs

Definition at line 36 of file unit_kernel.hpp.

Member Function Documentation

◆ estimate_complexity()

template<class Scalar >
constexpr unsigned NiHu::unit_kernel< Scalar >::estimate_complexity ( test_input_t const &  ,
trial_input_t const &  ,
scalar_t const &   
) const
inlineconstexpr

evaluate kernel complexity

Returns
kernel value K(x,y)

Definition at line 89 of file unit_kernel.hpp.

◆ operator()()

template<class Scalar >
constexpr result_t NiHu::unit_kernel< Scalar >::operator() ( test_input_t const &  ,
trial_input_t const &   
) const
inlineconstexpr

evaluate kernel at test and trial positions

Returns
kernel value K(x,y)

Definition at line 79 of file unit_kernel.hpp.


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