DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
MPolynomial.ih
1 
30 
31 #include <cstdlib>
32 #include <iomanip>
34 
36 // ----------------------- Standard services ------------------------------
37 
38 
40 // class MPolynomial
42 
44 // ----------------------- MPolynomial services ----------------------------
45 
46 // Declare the zero coefficient.
47 template <int n, typename Ring, class Alloc>
48 MPolynomial<n - 1, Ring, Alloc> MPolynomial<n, Ring, Alloc>::myZeroPolynomial;
49 
51 // Interface - public :
52 
53 
58 template <int N, typename TRing, class TAlloc>
59 inline
60 bool
62 {
63  return true;
64 }
65 
66 
67 
69 // Implementation of inline functions //
70 
71 template <int N, typename TRing, class TAlloc>
72 inline
73 std::ostream&
74 DGtal::operator<< ( std::ostream & out,
75  const MPolynomial<N, TRing, TAlloc> & object )
76 {
77  object.selfDisplay( out );
78  return out;
79 }
80 
81 // //
83 
84