iRoCS Toolbox  1.1.0
Public Member Functions | Static Public Member Functions
svt::Kernel_LINEAR Class Reference

The Kernel_LINEAR class specifies a linear kernel function: u'*v. More...

#include <Kernel_LINEAR.hh>

Collaboration diagram for svt::Kernel_LINEAR:

Public Member Functions

 Kernel_LINEAR ()
 
 ~Kernel_LINEAR ()
 
void clearCache () const
 
template<typename FV , typename FVGradient >
void gradient_of_k_function (const FV &x, const FV &y, FVGradient &gradient) const
 
template<typename FV >
double k_function (const FV &x, const FV &y) const
 
template<typename STDATA >
void loadParameters (STDATA &)
 
template<typename STDATA >
void saveParameters (STDATA &stData) const
 
template<typename ForwardIter , typename Accessor >
void updateCache (const ForwardIter &, const ForwardIter &, Accessor, ProgressReporter *) const
 
template<typename ForwardIter1 , typename Accessor1 , typename ForwardIter2 , typename Accessor2 >
void updateCache (const ForwardIter1 &, const ForwardIter1 &, Accessor1, const ForwardIter2 &, const ForwardIter2 &, Accessor2, ProgressReporter *=0) const
 

Static Public Member Functions

static const char * description ()
 
static void getParamInfos (std::vector< ParamInfo > &)
 get information about the parameters, that are used in loadParameters() and saveParameters(). More...
 
static const char * name ()
 

Detailed Description

The Kernel_LINEAR class specifies a linear kernel function: u'*v.

Definition at line 110 of file Kernel_LINEAR.hh.

Constructor & Destructor Documentation

◆ Kernel_LINEAR()

svt::Kernel_LINEAR::Kernel_LINEAR ( )
inline

Definition at line 113 of file Kernel_LINEAR.hh.

◆ ~Kernel_LINEAR()

svt::Kernel_LINEAR::~Kernel_LINEAR ( )
inline

Definition at line 116 of file Kernel_LINEAR.hh.

Member Function Documentation

◆ updateCache() [1/2]

template<typename ForwardIter , typename Accessor >
void svt::Kernel_LINEAR::updateCache ( const ForwardIter &  ,
const ForwardIter &  ,
Accessor  ,
ProgressReporter  
) const
inline

Definition at line 120 of file Kernel_LINEAR.hh.

◆ updateCache() [2/2]

template<typename ForwardIter1 , typename Accessor1 , typename ForwardIter2 , typename Accessor2 >
void svt::Kernel_LINEAR::updateCache ( const ForwardIter1 &  ,
const ForwardIter1 &  ,
Accessor1  ,
const ForwardIter2 &  ,
const ForwardIter2 &  ,
Accessor2  ,
ProgressReporter = 0 
) const
inline

Definition at line 131 of file Kernel_LINEAR.hh.

◆ clearCache()

void svt::Kernel_LINEAR::clearCache ( ) const
inline

Definition at line 142 of file Kernel_LINEAR.hh.

◆ k_function()

template<typename FV >
double svt::Kernel_LINEAR::k_function ( const FV &  x,
const FV &  y 
) const
inline

Definition at line 148 of file Kernel_LINEAR.hh.

◆ gradient_of_k_function()

template<typename FV , typename FVGradient >
void svt::Kernel_LINEAR::gradient_of_k_function ( const FV &  x,
const FV &  y,
FVGradient &  gradient 
) const
inline

Definition at line 154 of file Kernel_LINEAR.hh.

◆ loadParameters()

template<typename STDATA >
void svt::Kernel_LINEAR::loadParameters ( STDATA &  )
inline

Definition at line 161 of file Kernel_LINEAR.hh.

◆ saveParameters()

template<typename STDATA >
void svt::Kernel_LINEAR::saveParameters ( STDATA &  stData) const
inline

Definition at line 165 of file Kernel_LINEAR.hh.

◆ name()

static const char* svt::Kernel_LINEAR::name ( )
inlinestatic

Definition at line 171 of file Kernel_LINEAR.hh.

Referenced by saveParameters().

◆ description()

static const char* svt::Kernel_LINEAR::description ( )
inlinestatic

Definition at line 176 of file Kernel_LINEAR.hh.

◆ getParamInfos()

static void svt::Kernel_LINEAR::getParamInfos ( std::vector< ParamInfo > &  )
inlinestatic

get information about the parameters, that are used in loadParameters() and saveParameters().

The Infos are appended to the passed array

Parameters
parray of ParamInfos. The Infos will be appended to this array

Definition at line 191 of file Kernel_LINEAR.hh.


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