Function mod
Defined in File frenet_converter.hpp
Function Documentation
-
inline int mod(const int &a, const int &n)
Computes the modulus of two integers.
This function returns the remainder of the division of
abyn. The result is always non-negative, even ifais negative.- Parameters:
a – The dividend.
n – The divisor.
- Returns:
int The remainder of the division of
abyn.