|
Jpp
|
Auxiliary methods for geometrical methods. More...
Go to the source code of this file.
Namespaces | |
| JMATH | |
| Auxiliary classes and methods for mathematical operations. | |
| 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. More... | |
| long long int | JMATH::factorial (const long long int n, const long long int m) |
| Determine combinatorics. More... | |
| 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. More... | |
| template<class JFirst_t , class JSecond_t > | |
| double | JMATH::getDistanceSquared (const JFirst_t &first, const JSecond_t &second) |
| Get square of distance between objects. More... | |
| template<class JFirst_t , class JSecond_t > | |
| double | JMATH::getDistance (const JFirst_t &first, const JSecond_t &second) |
| Get distance between objects. More... | |
| template<class JFirst_t , class JSecond_t > | |
| double | JMATH::getDot (const JFirst_t &first, const JSecond_t &second) |
| Get dot product of objects. More... | |
| template<class JFirst_t , class JSecond_t > | |
| double | JMATH::getAngle (const JFirst_t &first, const JSecond_t &second) |
| Get space angle between objects. More... | |
| template<class JFirst_t , class JSecond_t > | |
| double | JMATH::getPerpDot (const JFirst_t &first, const JSecond_t &second) |
| Get perpendicular dot product of objects. More... | |
| template<class T > | |
| T | JMATH::interpolate (const T &first, const T &second, const double alpha) |
| Interpolation between objects. More... | |
| template<class T > | |
| std::vector< T > | JMATH::convolve (const std::vector< T > &in, const std::vector< T > &ker) |
| Convolves a vector (in) with another vector (ker). More... | |
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.
1.8.5