Generated on Sat May 25 2013 18:00:42 for Gecode by doxygen 1.8.3.1
math.hpp File Reference

(Revision: 13006)

Go to the source code of this file.

Namespaces

namespace  Gecode
 Gecode toplevel namespace
 
namespace  Gecode::Int
 Finite domain integers.
 
namespace  Gecode::Int::Arithmetic
 Numerical (arithmetic) propagators.
 

Functions

template<class IntType >
bool Gecode::Int::Arithmetic::even (IntType n)
 
template<class IntType >
IntType Gecode::Int::Arithmetic::pow (IntType x, int n)
 
int Gecode::Int::Arithmetic::tpow (int _x, int n)
 
bool Gecode::Int::Arithmetic::powgr (int r, int n, int x)
 Test whether $r^n>x$. More...
 
int Gecode::Int::Arithmetic::fnroot (int x, int n)
 
bool Gecode::Int::Arithmetic::powle (int r, int n, int x)
 Test whether $r^n<x$. More...
 
int Gecode::Int::Arithmetic::cnroot (int x, int n)
 Return $\lceil \sqrt[n]{x}\rceil$ where x must be non-negative and $n>0$. More...