Main MRPT website > C++ reference for MRPT 1.5.5
List of all members | Public Member Functions | Public Attributes
mrpt::math::RobustKernel< rkPseudoHuber, T > Struct Template Reference

Detailed Description

template<typename T>
struct mrpt::math::RobustKernel< rkPseudoHuber, T >

Pseudo-huber robust kernel: rho(r) = 2 * delta^2 * ( -1+sqrt( 1+ r^2/delta^2 ) )

Definition at line 50 of file robust_kernels.h.

#include <mrpt/math/robust_kernels.h>

Public Member Functions

eval (const T r2, T &out_1st_deriv, T &out_2nd_deriv)
 Evaluates the kernel function for the squared error r2 and returns robustified squared error and derivatives of sqrt(2*rho(r)) at this point. More...
 

Public Attributes

param_sq
 The kernel parameter (the "threshold") squared. More...
 

Member Function Documentation

template<typename T >
T mrpt::math::RobustKernel< rkPseudoHuber, T >::eval ( const T  r2,
T &  out_1st_deriv,
T &  out_2nd_deriv 
)
inline

Evaluates the kernel function for the squared error r2 and returns robustified squared error and derivatives of sqrt(2*rho(r)) at this point.

Definition at line 55 of file robust_kernels.h.

Member Data Documentation

template<typename T >
T mrpt::math::RobustKernel< rkPseudoHuber, T >::param_sq

The kernel parameter (the "threshold") squared.

Definition at line 52 of file robust_kernels.h.




Page generated by Doxygen 1.8.6 for MRPT 1.5.5 Git: e06b63d Fri Dec 1 14:41:11 2017 +0100 at sáb dic 2 13:00:21 CET 2017