Developer documentation

print.hpp
Go to the documentation of this file.
1 /*********************************************************************
2 * This file is part of the source code of realroot kernel. *
3 * Author(s): B. Mourrain, GALAAD, INRIA *
4 **********************************************************************
5 **********************************************************************/
6 #ifndef realroot_print_hpp
7 #define realroot_print_hpp
8 #define TMPL template<class OSTREAM>
9 
10 //======================================================================
11 namespace mmx {
12 
13  TMPL inline void print(OSTREAM& os, int x) { os<<x;}
14  TMPL inline void print(OSTREAM& os, long int x) { os<<x;}
15  TMPL inline void print(OSTREAM& os, unsigned x) { os<<x;}
16  TMPL inline void print(OSTREAM& os, double x) { os<<x;}
17 
18 }
19 #undef TMPL
20 #endif // realroot_monom_hpp
21 
void print(OSTREAM &os, const Interval< T, r > &a)
Definition: Interval.hpp:135
Definition: array.hpp:12
Home