DGtal
1.5.beta
|
Aim: Small stucture that provides a static method returning the Euclidean division of two integers. More...
#include <DGtal/geometry/tools/determinant/AvnaimEtAl2x2DetSignComputer.h>
Static Public Member Functions | |
static TNumber | compute (const TNumber &a, const TNumber &b) |
Aim: Small stucture that provides a static method returning the Euclidean division of two integers.
TNumber | type of number. If TNumber is a model of CInteger (default), the method EuclideanDivisionHelper::compute(a,b) returns a / b. If TNumber is float or double, the same method returns std::floor( a / b ). |
Definition at line 71 of file AvnaimEtAl2x2DetSignComputer.h.
|
inlinestatic |
Computes the Euclidean division a / b
a | numerator |
b | denominator |
Definition at line 79 of file AvnaimEtAl2x2DetSignComputer.h.