MIRA
Classes | Namespaces | Functions
Power.h File Reference

Functions for computing powers with constant integral exponent or constant integral exponent and base. More...

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

Go to the source code of this file.

Classes

struct  PowerComputer< T, N >
 
struct  PowerComputer< T, 1 >
 
struct  PowerComputer< T, 0 >
 
struct  TPower< base, exponent >
 Computes the power base^exponent at compile time. More...
 
struct  TPower< base, 0 >
 

Namespaces

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

Functions

template<int exponent, typename T >
pow (T base)
 Computes the power of 'base' with a constant integral exponent. More...
 
template<typename T >
pow2 (T base)
 Computes base^2. More...
 
template<typename T >
pow3 (T base)
 Computes base^3. More...
 
template<typename T , typename U >
pow (T base, U exponent)
 
template<typename T >
pow (T base, T exponent)
 

Detailed Description

Functions for computing powers with constant integral exponent or constant integral exponent and base.

Author
Erik Einhorn
Date
2012/09/15