DGtal
0.6.devel
Main Page
Related Pages
Modules
Namespaces
Data Structures
Examples
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
src
DGtal
math
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
61
DGtal::MPolynomial<N, TRing, TAlloc>::isValid
()
const
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
Generated on Wed Dec 19 2012 19:10:32 for DGtal by
1.8.1.1