1.1 --- a/benchmark/bfs-bench.cc Fri Feb 08 10:18:55 2008 +0000
1.2 +++ b/benchmark/bfs-bench.cc Fri Feb 08 10:38:08 2008 +0000
1.3 @@ -17,7 +17,7 @@
1.4 */
1.5
1.6 #include<queue>
1.7 -#include<cmath>
1.8 +#include<lemon/math.h>
1.9 #include<lemon/smart_graph.h>
1.10 #include"bench_tools.h"
1.11
2.1 --- a/benchmark/hcube.cc Fri Feb 08 10:18:55 2008 +0000
2.2 +++ b/benchmark/hcube.cc Fri Feb 08 10:38:08 2008 +0000
2.3 @@ -16,7 +16,7 @@
2.4 *
2.5 */
2.6
2.7 -#include<cmath>
2.8 +#include<lemon/math.h>
2.9 #include<lemon/list_graph.h>
2.10 #include<lemon/smart_graph.h>
2.11 #include<lemon/dijkstra.h>
3.1 --- a/benchmark/radix_sort-bench.cc Fri Feb 08 10:18:55 2008 +0000
3.2 +++ b/benchmark/radix_sort-bench.cc Fri Feb 08 10:38:08 2008 +0000
3.3 @@ -30,7 +30,7 @@
3.4
3.5 #include <vector>
3.6 #include <algorithm>
3.7 -#include <cmath>
3.8 +#include <lemon/math.h>
3.9
3.10 using namespace std;
3.11 using namespace lemon;
4.1 --- a/demo/descriptor_map_demo.cc Fri Feb 08 10:18:55 2008 +0000
4.2 +++ b/demo/descriptor_map_demo.cc Fri Feb 08 10:38:08 2008 +0000
4.3 @@ -36,7 +36,7 @@
4.4
4.5 #include <iostream>
4.6
4.7 -#include <cmath>
4.8 +#include <lemon/math.h>
4.9
4.10
4.11 using namespace lemon;
5.1 --- a/demo/eps_demo.cc Fri Feb 08 10:18:55 2008 +0000
5.2 +++ b/demo/eps_demo.cc Fri Feb 08 10:38:08 2008 +0000
5.3 @@ -27,7 +27,7 @@
5.4 ///
5.5 /// \include eps_demo.cc
5.6
5.7 -#include <cmath>
5.8 +#include <lemon/math.h>
5.9 #include <lemon/eps.h>
5.10
5.11 using namespace lemon;
6.1 --- a/demo/graph_to_eps_demo.cc Fri Feb 08 10:18:55 2008 +0000
6.2 +++ b/demo/graph_to_eps_demo.cc Fri Feb 08 10:38:08 2008 +0000
6.3 @@ -30,7 +30,7 @@
6.4 ///
6.5 /// \include graph_to_eps_demo.cc
6.6
6.7 -#include <cmath>
6.8 +#include <lemon/math.h>
6.9
6.10 #include<lemon/graph_to_eps.h>
6.11 #include<lemon/list_graph.h>
7.1 --- a/demo/min_route.cc Fri Feb 08 10:18:55 2008 +0000
7.2 +++ b/demo/min_route.cc Fri Feb 08 10:38:08 2008 +0000
7.3 @@ -27,7 +27,7 @@
7.4
7.5 #include <lemon/time_measure.h>
7.6
7.7 -#include <cmath>
7.8 +#include <lemon/math.h>
7.9
7.10 /// \ingroup demos
7.11 /// \file
8.1 --- a/demo/steiner_demo.cc Fri Feb 08 10:18:55 2008 +0000
8.2 +++ b/demo/steiner_demo.cc Fri Feb 08 10:38:08 2008 +0000
8.3 @@ -29,11 +29,10 @@
8.4 #include <lemon/graph_reader.h>
8.5 #include <lemon/time_measure.h>
8.6 #include <lemon/graph_to_eps.h>
8.7 -
8.8 #include <lemon/steiner.h>
8.9 +#include <lemon/math.h>
8.10
8.11 #include <cstdlib>
8.12 -#include <cmath>
8.13
8.14 using namespace lemon;
8.15 using namespace lemon::dim2;
9.1 --- a/lemon/color.h Fri Feb 08 10:18:55 2008 +0000
9.2 +++ b/lemon/color.h Fri Feb 08 10:38:08 2008 +0000
9.3 @@ -20,7 +20,7 @@
9.4 #define LEMON_COLOR_H
9.5
9.6 #include<vector>
9.7 -#include<cmath>
9.8 +#include<lemon/math.h>
9.9 #include<lemon/maps.h>
9.10
9.11
10.1 --- a/lemon/fib_heap.h Fri Feb 08 10:18:55 2008 +0000
10.2 +++ b/lemon/fib_heap.h Fri Feb 08 10:38:08 2008 +0000
10.3 @@ -25,7 +25,7 @@
10.4
10.5 #include <vector>
10.6 #include <functional>
10.7 -#include <cmath>
10.8 +#include <lemon/math.h>
10.9
10.10 namespace lemon {
10.11
11.1 --- a/lemon/full_graph.h Fri Feb 08 10:18:55 2008 +0000
11.2 +++ b/lemon/full_graph.h Fri Feb 08 10:38:08 2008 +0000
11.3 @@ -19,7 +19,7 @@
11.4 #ifndef LEMON_FULL_GRAPH_H
11.5 #define LEMON_FULL_GRAPH_H
11.6
11.7 -#include <cmath>
11.8 +#include <lemon/math.h>
11.9
11.10 #include <lemon/bits/base_extender.h>
11.11 #include <lemon/bits/graph_extender.h>
12.1 --- a/lemon/graph_to_eps.h Fri Feb 08 10:18:55 2008 +0000
12.2 +++ b/lemon/graph_to_eps.h Fri Feb 08 10:38:08 2008 +0000
12.3 @@ -31,9 +31,9 @@
12.4 #include<algorithm>
12.5 #include<vector>
12.6
12.7 -#include <ctime>
12.8 -#include <cmath>
12.9 +#include<ctime>
12.10
12.11 +#include<lemon/math.h>
12.12 #include<lemon/bits/invalid.h>
12.13 #include<lemon/dim2.h>
12.14 #include<lemon/maps.h>
13.1 --- a/lemon/graph_utils.h Fri Feb 08 10:18:55 2008 +0000
13.2 +++ b/lemon/graph_utils.h Fri Feb 08 10:38:08 2008 +0000
13.3 @@ -22,7 +22,7 @@
13.4 #include <iterator>
13.5 #include <vector>
13.6 #include <map>
13.7 -#include <cmath>
13.8 +#include <lemon/math.h>
13.9 #include <algorithm>
13.10
13.11 #include <lemon/bits/invalid.h>
14.1 --- a/lemon/lp_base.h Fri Feb 08 10:18:55 2008 +0000
14.2 +++ b/lemon/lp_base.h Fri Feb 08 10:38:08 2008 +0000
14.3 @@ -23,7 +23,7 @@
14.4 #include<vector>
14.5 #include<map>
14.6 #include<limits>
14.7 -#include<cmath>
14.8 +#include<lemon/math.h>
14.9
14.10 #include<lemon/error.h>
14.11 #include<lemon/bits/invalid.h>
15.1 --- a/lemon/network_simplex.h Fri Feb 08 10:18:55 2008 +0000
15.2 +++ b/lemon/network_simplex.h Fri Feb 08 10:38:08 2008 +0000
15.3 @@ -47,7 +47,7 @@
15.4 #define UPPER -1
15.5
15.6 #ifdef EDGE_BLOCK_PIVOT
15.7 - #include <cmath>
15.8 + #include <lemon/math.h>
15.9 #define MIN_BLOCK_SIZE 10
15.10 #endif
15.11
16.1 --- a/lemon/random.h Fri Feb 08 10:18:55 2008 +0000
16.2 +++ b/lemon/random.h Fri Feb 08 10:38:08 2008 +0000
16.3 @@ -67,8 +67,8 @@
16.4 #include <vector>
16.5
16.6 #include <ctime>
16.7 -#include <cmath>
16.8
16.9 +#include <lemon/math.>
16.10 #include <lemon/dim2.h>
16.11 ///\ingroup misc
16.12 ///\file
17.1 --- a/lemon/simann.h Fri Feb 08 10:18:55 2008 +0000
17.2 +++ b/lemon/simann.h Fri Feb 08 10:38:08 2008 +0000
17.3 @@ -28,7 +28,7 @@
17.4 /// \author Akos Ladanyi
17.5
17.6 #include <cstdlib>
17.7 -#include <cmath>
17.8 +#include <lemon/math.h>
17.9 #include <limits>
17.10 #include <lemon/time_measure.h>
17.11 #include <lemon/random.h>
18.1 --- a/test/all_pairs_shortest_path_test.cc Fri Feb 08 10:18:55 2008 +0000
18.2 +++ b/test/all_pairs_shortest_path_test.cc Fri Feb 08 10:38:08 2008 +0000
18.3 @@ -19,7 +19,7 @@
18.4 #include <iostream>
18.5 #include <vector>
18.6
18.7 -#include <cmath>
18.8 +#include <lemon/math.h>
18.9 #include <cstdlib>
18.10
18.11 #include <lemon/smart_graph.h>
19.1 --- a/test/arborescence_test.cc Fri Feb 08 10:18:55 2008 +0000
19.2 +++ b/test/arborescence_test.cc Fri Feb 08 10:38:08 2008 +0000
19.3 @@ -21,7 +21,7 @@
19.4 #include <vector>
19.5 #include <iterator>
19.6
19.7 -#include <cmath>
19.8 +#include <lemon/math.h>
19.9 #include <cstdlib>
19.10
19.11 #include <lemon/smart_graph.h>
20.1 --- a/test/max_matching_test.cc Fri Feb 08 10:18:55 2008 +0000
20.2 +++ b/test/max_matching_test.cc Fri Feb 08 10:38:08 2008 +0000
20.3 @@ -19,7 +19,7 @@
20.4 #include <iostream>
20.5 #include <vector>
20.6 #include <queue>
20.7 -#include <cmath>
20.8 +#include <lemon/math.h>
20.9 #include <cstdlib>
20.10
20.11 #include "test_tools.h"
21.1 --- a/test/max_weighted_matching_test.cc Fri Feb 08 10:18:55 2008 +0000
21.2 +++ b/test/max_weighted_matching_test.cc Fri Feb 08 10:38:08 2008 +0000
21.3 @@ -20,7 +20,7 @@
21.4 #include <sstream>
21.5 #include <vector>
21.6 #include <queue>
21.7 -#include <cmath>
21.8 +#include <lemon/math.h>
21.9 #include <cstdlib>
21.10
21.11 #include "test_tools.h"
22.1 --- a/test/radix_sort_test.cc Fri Feb 08 10:18:55 2008 +0000
22.2 +++ b/test/radix_sort_test.cc Fri Feb 08 10:38:08 2008 +0000
22.3 @@ -27,7 +27,7 @@
22.4
22.5 #include <vector>
22.6 #include <algorithm>
22.7 -#include <cmath>
22.8 +#include <lemon/math.h>
22.9
22.10 using namespace std;
22.11 using namespace lemon;
23.1 --- a/tools/lgf-gen.cc Fri Feb 08 10:18:55 2008 +0000
23.2 +++ b/tools/lgf-gen.cc Fri Feb 08 10:38:08 2008 +0000
23.3 @@ -81,7 +81,7 @@
23.4 #include <lemon/graph_writer.h>
23.5 #include <lemon/arg_parser.h>
23.6 #include <lemon/euler.h>
23.7 -#include <cmath>
23.8 +#include <lemon/math.h>
23.9 #include <algorithm>
23.10 #include <lemon/kruskal.h>
23.11 #include <lemon/time_measure.h>