![]()  | 
  
    RobWorkProject
    23.9.11-
    
   | 
 
Various metrics and other distance measures. More...
#include <MetricUtil.hpp>
Static Public Member Functions | |
| template<class VectorType > | |
| static VectorType::value_type | norm1 (const VectorType &q) | 
| The 1-norm of a configuration.  | |
| template<class VectorType > | |
| static VectorType::value_type | dist1 (const VectorType &a, const VectorType &b) | 
| The 1-norm of the difference between two configurations.  | |
| template<class VectorType > | |
| static VectorType::value_type | norm1Weighted (const VectorType &q, const VectorType &scale) | 
| The scaled 1-norm of a configuration.  | |
| template<class VectorType > | |
| static VectorType::value_type | dist1Weighted (const VectorType &a, const VectorType &b, const VectorType &scale) | 
| The scaled 1-norm of the difference between two configurations.  | |
| template<class VectorType > | |
| static VectorType::value_type | norm2Sqr (const VectorType &q) | 
| The square of the 2-norm of a configuration.  | |
| template<class VectorType > | |
| static VectorType::value_type | norm2 (const VectorType &q) | 
| The 2-norm of a configuration.  | |
| template<class VectorType > | |
| static VectorType::value_type | dist2Sqr (const VectorType &a, const VectorType &b) | 
| The squared 2-norm of the difference between two configurations.  | |
| template<class VectorType > | |
| static VectorType::value_type | dist2 (const VectorType &a, const VectorType &b) | 
| The 2-norm of the difference between two configurations.  | |
| template<class VectorType > | |
| static VectorType::value_type | norm2WeightedSqr (const VectorType &q, const VectorType &scale) | 
| The squared scaled 2-norm of a configuration.  | |
| template<class VectorType > | |
| static VectorType::value_type | norm2Weighted (const VectorType &q, const VectorType &scale) | 
| The scaled 2-norm of a configuration.  | |
| template<class VectorType > | |
| static VectorType::value_type | dist2WeightedSqr (const VectorType &a, const VectorType &b, const VectorType &scale) | 
| The squared scaled 2-norm of the difference between two configurations.  | |
| template<class VectorType > | |
| static VectorType::value_type | dist2Weighted (const VectorType &a, const VectorType &b, const VectorType &scale) | 
| The scaled 2-norm of the difference between two configurations.  | |
| template<class VectorType > | |
| static VectorType::value_type | normInf (const VectorType &q) | 
| The infinity-norm of a configuration.  | |
| template<class VectorType > | |
| static VectorType::value_type | distInf (const VectorType &a, const VectorType &b) | 
| The infinity-norm of the difference between two configurations.  | |
| template<class VectorType > | |
| static VectorType::value_type | normInfWeighted (const VectorType &q, const VectorType &scale) | 
| The scaled infinity-norm of a configuration.  | |
| template<class VectorType > | |
| static VectorType::value_type | distInfWeighted (const VectorType &a, const VectorType &b, const VectorType &scale) | 
| The scaled infinity-norm of the difference between two configurations.  | |
Various metrics and other distance measures.