Public Member Functions | Public Attributes | List of all members
fcl::Scaler< N > Struct Template Reference

#include <hpp/fcl/learning/classifier.h>

Public Member Functions

 Scaler ()
 
 Scaler (const Vecnf< N > &v_min_, const Vecnf< N > &v_max_)
 
Vecnf< N > scale (const Vecnf< N > &v) const
 
Vecnf< N > unscale (const Vecnf< N > &v) const
 

Public Attributes

Vecnf< N > v_min
 
Vecnf< N > v_max
 

Constructor & Destructor Documentation

◆ Scaler() [1/2]

template<std::size_t N>
fcl::Scaler< N >::Scaler ( )
inline

◆ Scaler() [2/2]

template<std::size_t N>
fcl::Scaler< N >::Scaler ( const Vecnf< N > &  v_min_,
const Vecnf< N > &  v_max_ 
)
inline

Member Function Documentation

◆ scale()

template<std::size_t N>
Vecnf<N> fcl::Scaler< N >::scale ( const Vecnf< N > &  v) const
inline

◆ unscale()

template<std::size_t N>
Vecnf<N> fcl::Scaler< N >::unscale ( const Vecnf< N > &  v) const
inline

Member Data Documentation

◆ v_max

template<std::size_t N>
Vecnf<N> fcl::Scaler< N >::v_max

◆ v_min

template<std::size_t N>
Vecnf<N> fcl::Scaler< N >::v_min