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

Detailed Description

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

No robust kernel, use standard least squares: rho(r) = r^2.

Definition at line 39 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 [Not used in this class, provided for consistency with the other classes]. More...
 

Member Function Documentation

◆ eval()

template<typename T >
T mrpt::math::RobustKernel< rkLeastSquares, 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 48 of file robust_kernels.h.

Member Data Documentation

◆ param_sq

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

The kernel parameter (the "threshold") squared [Not used in this class, provided for consistency with the other classes].

Definition at line 43 of file robust_kernels.h.




Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST