| 
    Jpp 19.3.0-rc.1
    
   the software that should make you happy 
   | 
 
Auxiliary methods for geometrical methods. More...
#include <limits>#include <cmath>#include <vector>#include "JLang/JException.hh"#include "JMath/JZero.hh"Go to the source code of this file.
Namespaces | |
| namespace | JMATH | 
| Auxiliary classes and methods for mathematical operations.  | |
| namespace | JPP | 
| This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).  | |
Functions | |
| long long int | JMATH::factorial (const long long int n) | 
| Determine factorial.   | |
| long long int | JMATH::factorial (const long long int n, const long long int m) | 
| Determine combinatorics.   | |
| template<class JFirst_t , class JSecond_t > | |
| bool | JMATH::equals (const JFirst_t &first, const JSecond_t &second, const double precision=std::numeric_limits< double >::min()) | 
| Check equality.   | |
| template<class JFirst_t , class JSecond_t > | |
| double | JMATH::getDistanceSquared (const JFirst_t &first, const JSecond_t &second) | 
| Get square of distance between objects.   | |
| template<class JFirst_t , class JSecond_t > | |
| double | JMATH::getDistance (const JFirst_t &first, const JSecond_t &second) | 
| Get distance between objects.   | |
| template<class JFirst_t , class JSecond_t > | |
| double | JMATH::getDot (const JFirst_t &first, const JSecond_t &second) | 
| Get dot product of objects.   | |
| template<class JFirst_t , class JSecond_t > | |
| double | JMATH::getAngle (const JFirst_t &first, const JSecond_t &second) | 
| Get space angle between objects.   | |
| template<class JFirst_t , class JSecond_t > | |
| double | JMATH::getPerpDot (const JFirst_t &first, const JSecond_t &second) | 
| Get perpendicular dot product of objects.   | |
| template<class T > | |
| T | JMATH::getCross (const T &first, const T &second) | 
| Get cross product of objects.   | |
| template<class T > | |
| std::vector< T > | JMATH::convolve (const std::vector< T > &input, const std::vector< T > &kernel) | 
| Convolute data with given kernel.   | |
Auxiliary methods for geometrical methods.
In this, the action of each global method is transferred to the corresponding member method of the leading (first) argument, e.g:
getXXX(first, second, ...)
becomes
first.getXXX(second, ...) 
Definition in file JMathToolkit.hh.