MIRA
Namespaces | Functions
Modulo.h File Reference

Defines modulo function for both integral and floating point types. More...

#include <cmath>
Include dependency graph for Modulo.h:

Go to the source code of this file.

Namespaces

 mira
 specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
 

Functions

template<typename T >
modulo (T x, T y)
 Computes x modulo y, i.e. More...
 
template<>
float modulo (float x, float y)
 
template<>
double modulo (double x, double y)
 
template<>
long double modulo (long double x, long double y)
 

Detailed Description

Defines modulo function for both integral and floating point types.

Author
Erik Einhorn
Date
2012/01/07