DGtal  0.9.2
LighterSternBrocot.cpp
1 
32 #include "DGtal/arithmetic/LighterSternBrocot.h"
35 
36 #include <iostream>
37 #include <map>
38 
39 using namespace std;
40 
41 
42 
44 // class Common
46 
50 namespace DGtal
51 {
52  template <typename TInteger, typename TQuotient, typename TMap>
55 
56  template <>
57  LighterSternBrocot<DGtal::int32_t,DGtal::int32_t>*
59 
60  template <>
63 
64  template <>
67 
68 #ifdef WITH_BIGINTEGER
69  template <>
72 
73  template <>
76 
77  template <>
80 
81 #endif
82 }
STL namespace.
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: The Stern-Brocot tree is the tree of irreducible fractions. This class allows to construct it pr...