OKlibrary  0.2.1.6
Numerics Namespace Reference

Classes

struct  Integer_exponentiation
struct  Round
struct  Nat_1_2_diag
class  Graph_edges

Functions

template<typename base_type , typename exponent_type >
base_type integer_exponentiation (const base_type base, const exponent_type exp, const base_type multiplier=base_type(1))
template<typename Float >
Float round (Float x)
template<typename Float , typename Int >
Int round (Float x, Int position)
template<typename Nat >
Nat::pair_type nat_1_2_diag (const Nat n)

Function Documentation

template<typename base_type , typename exponent_type >
base_type Numerics::integer_exponentiation ( const base_type  base,
const exponent_type  exp,
const base_type  multiplier = base_type(1) 
) [inline]
template<typename Nat >
Nat::pair_type Numerics::nat_1_2_diag ( const Nat  n) [inline]

Definition at line 104 of file Numerics.hpp.

template<typename Float >
Float Numerics::round ( Float  x) [inline]

Definition at line 69 of file Numerics.hpp.

Referenced by Monitorausgabe().

template<typename Float , typename Int >
Int Numerics::round ( Float  x,
Int  position 
) [inline]

Definition at line 73 of file Numerics.hpp.