\section{atlas::polynomials::Polynomial$<$ C $>$ Class Template Reference}
\label{classatlas_1_1polynomials_1_1Polynomial}\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
{\tt \#include $<$polynomials.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Polynomial} ()
\item 
{\bf Polynomial} ({\bf Degree} d)
\item 
void {\bf swap} ({\bf Polynomial} \&other)
\item 
C {\bf operator[$\,$]} ({\bf Degree} j) const 
\item 
bool {\bf operator==} (const {\bf Polynomial} \&q) const 
\item 
bool {\bf operator$<$} (const {\bf Polynomial} \&q) const 
\item 
{\bf Degree} {\bf degree} () const 
\item 
bool {\bf is\-Zero} () const 
\item 
C \& {\bf operator[$\,$]} ({\bf Degree} j)
\item 
{\bf Polynomial} \& {\bf operator+=} (const {\bf Polynomial} \&)
\item 
{\bf Polynomial} \& {\bf operator-=} (const {\bf Polynomial} \&)
\item 
{\bf Polynomial} \& {\bf operator $\ast$=} (C)
\item 
{\bf Polynomial} \& {\bf safe\-Add} (const {\bf Polynomial} \&, {\bf Degree} d=0, C c=1)
\item 
{\bf Polynomial} \& {\bf safe\-Subtract} (const {\bf Polynomial} \&, {\bf Degree} d=0, C c=1)
\end{CompactItemize}
\subsection*{Private Member Functions}
\begin{CompactItemize}
\item 
void {\bf adjust\-Size} ()
\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
std::vector$<$ C $>$ {\bf d\_\-data}
\end{CompactItemize}
\subsubsection*{template$<$typename C$>$ class atlas::polynomials::Polynomial$<$ C $>$}



\subsection{Constructor \& Destructor Documentation}
\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!Polynomial@{Polynomial}}
\index{Polynomial@{Polynomial}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ {\bf atlas::polynomials::Polynomial}$<$ C $>$::{\bf Polynomial} ()\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1polynomials_1_1Polynomial_f72c206f389d03cdfad84b3e0b51bd6c}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!Polynomial@{Polynomial}}
\index{Polynomial@{Polynomial}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ {\bf atlas::polynomials::Polynomial}$<$ C $>$::{\bf Polynomial} ({\bf Degree} {\em d})\hspace{0.3cm}{\tt  [explicit]}}\label{classatlas_1_1polynomials_1_1Polynomial_7d9a887e7539b685293d767cb6a69c40}




\subsection{Member Function Documentation}
\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!adjustSize@{adjustSize}}
\index{adjustSize@{adjustSize}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ void {\bf atlas::polynomials::Polynomial}$<$ C $>$::adjust\-Size ()\hspace{0.3cm}{\tt  [private]}}\label{classatlas_1_1polynomials_1_1Polynomial_be6dd0c44cdccaa671e94754b560a742}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!degree@{degree}}
\index{degree@{degree}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ {\bf Degree} {\bf atlas::polynomials::Polynomial}$<$ C $>$::degree () const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1polynomials_1_1Polynomial_48039a35b52c6879de29330e4f1feab1}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!isZero@{isZero}}
\index{isZero@{isZero}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ bool {\bf atlas::polynomials::Polynomial}$<$ C $>$::is\-Zero () const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1polynomials_1_1Polynomial_60e4cd4f19e4d823db62cb1f48274c3c}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!operator *=@{operator $\ast$=}}
\index{operator *=@{operator $\ast$=}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ {\bf Polynomial}\& {\bf atlas::polynomials::Polynomial}$<$ C $>$::operator $\ast$= (C)}\label{classatlas_1_1polynomials_1_1Polynomial_eb91a1d402a2fda4d474096346b51a2f}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!operator+=@{operator+=}}
\index{operator+=@{operator+=}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ {\bf Polynomial}\& {\bf atlas::polynomials::Polynomial}$<$ C $>$::operator+= (const {\bf Polynomial}$<$ C $>$ \&)}\label{classatlas_1_1polynomials_1_1Polynomial_dc8ddf58dc0fead77c871f3e9a124638}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!operator-=@{operator-=}}
\index{operator-=@{operator-=}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ {\bf Polynomial}\& {\bf atlas::polynomials::Polynomial}$<$ C $>$::operator-= (const {\bf Polynomial}$<$ C $>$ \&)}\label{classatlas_1_1polynomials_1_1Polynomial_13a6dd1549a123dae620368a5ff79f27}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!operator<@{operator$<$}}
\index{operator<@{operator$<$}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ bool {\bf atlas::polynomials::Polynomial}$<$ C $>$::operator$<$ (const {\bf Polynomial}$<$ C $>$ \& {\em q}) const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1polynomials_1_1Polynomial_659b4de41e6eaa7623ee5c3ee146fc27}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!operator==@{operator==}}
\index{operator==@{operator==}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ bool {\bf atlas::polynomials::Polynomial}$<$ C $>$::operator== (const {\bf Polynomial}$<$ C $>$ \& {\em q}) const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1polynomials_1_1Polynomial_15c6872f124ae6b5af22b490aed5b4f6}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!operator[]@{operator[]}}
\index{operator[]@{operator[]}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ C\& {\bf atlas::polynomials::Polynomial}$<$ C $>$::operator[$\,$] ({\bf Degree} {\em j})\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1polynomials_1_1Polynomial_e5ce5acaf2c64dec10c0cc883bc278ac}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!operator[]@{operator[]}}
\index{operator[]@{operator[]}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ C {\bf atlas::polynomials::Polynomial}$<$ C $>$::operator[$\,$] ({\bf Degree} {\em j}) const\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1polynomials_1_1Polynomial_ea156981444759f2a753324606ff7929}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!safeAdd@{safeAdd}}
\index{safeAdd@{safeAdd}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ {\bf Polynomial}$<$ C $>$ \& {\bf atlas::polynomials::Polynomial}$<$ C $>$::safe\-Add (const {\bf Polynomial}$<$ C $>$ \&, {\bf Degree} {\em d} = {\tt 0}, C {\em c} = {\tt 1})}\label{classatlas_1_1polynomials_1_1Polynomial_09bd303f3062b55caf9b7849ae0e5fdb}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!safeSubtract@{safeSubtract}}
\index{safeSubtract@{safeSubtract}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ {\bf Polynomial}$<$ C $>$ \& {\bf atlas::polynomials::Polynomial}$<$ C $>$::safe\-Subtract (const {\bf Polynomial}$<$ C $>$ \&, {\bf Degree} {\em d} = {\tt 0}, C {\em c} = {\tt 1})}\label{classatlas_1_1polynomials_1_1Polynomial_15b4fe7341d6d2617acc2fe5fbe08c37}


\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!swap@{swap}}
\index{swap@{swap}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ void {\bf atlas::polynomials::Polynomial}$<$ C $>$::swap ({\bf Polynomial}$<$ C $>$ \& {\em other})\hspace{0.3cm}{\tt  [inline]}}\label{classatlas_1_1polynomials_1_1Polynomial_c6a203dfef155f844945906b90578ab8}




\subsection{Member Data Documentation}
\index{atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}!d_data@{d\_\-data}}
\index{d_data@{d\_\-data}!atlas::polynomials::Polynomial@{atlas::polynomials::Polynomial}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ std::vector$<$C$>$ {\bf atlas::polynomials::Polynomial}$<$ C $>$::{\bf d\_\-data}\hspace{0.3cm}{\tt  [private]}}\label{classatlas_1_1polynomials_1_1Polynomial_ace10552a67a2d941d0025ef37913e5c}




The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
sources/utilities/{\bf polynomials.h}\item 
sources/utilities/{\bf polynomials\_\-def.h}\end{CompactItemize}
