added GetCoefficient

added GetInnermostCoefficient
This commit is contained in:
Michael Hemmer 2007-02-28 10:23:09 +00:00
parent 2c3942027d
commit efd2255b96
5 changed files with 72 additions and 1 deletions

2
.gitattributes vendored
View File

@ -1716,6 +1716,8 @@ Polyhedron/examples/Polyhedron/corner.off -text svneol=unset#application/octet-s
Polyhedron/examples/Polyhedron/corner_with_hole.off -text svneol=unset#application/octet-stream
Polyhedron/examples/Polyhedron/corner_with_sharp_edge.off -text svneol=unset#application/octet-stream
Polyhedron/examples/Polyhedron/cross.off -text svneol=unset#application/octet-stream
Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_GetCoefficient.tex -text
Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_GetInnermostCoefficient.tex -text
Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_InnermostLeadingCoefficient.tex -text
Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_Move.tex -text
Polynomial/doc_tex/Polynomial_ref/Polynomial_1.tex -text

View File

@ -0,0 +1,33 @@
\begin{ccRefConcept}{PolynomialTraits_d::GetCoefficient}
\ccDefinition
This \ccc{Functor} provides returns a coefficient of a
\ccc{PolynomialTraits_d::Polynomial_d}.
\ccRefines
\ccTypes
\ccSetThreeColumns{xxxxxxxxxxxxxxxxxxx}{xxxxxxxxxxx}{}
\ccTypedef{typedef PolynomialTraits_d::Coefficient result_type;}{}
\ccTypedef{typedef PolynomialTraits_d::Polynomial_d first_argument_type ;}{}
\ccTypedef{typedef int second_argument_type;}{}
\ccCreationVariable{construct_polynomial}
\ccOperations
\ccMethod{result_type operator()( first_argument_type p,
second_argument_type i);}{
Returns coefficient of $x^i$ by value,
where $x$ is the outermost variable.}
%\ccHasModels
\ccSeeAlso
\ccRefIdfierPage{Polynomial_d}\\
\ccRefIdfierPage{PolynomialTraits_d}\\
\ccRefIdfierPage{PolynomialTraits_d::TotalDegree}
\end{ccRefConcept}

View File

@ -0,0 +1,34 @@
\begin{ccRefConcept}{PolynomialTraits_d::GetInnermostCoefficient}
\ccDefinition
This \ccc{Functor} provides returns an innermost coefficient of a
\ccc{PolynomialTraits_d::Polynomial_d}.
\ccRefines
\ccTypes
\ccSetThreeColumns{xxxxxxxxxxxxxxxxxxx}{xxxxxxxxxxx}{}
\ccTypedef{typedef PolynomialTraits_d::Innermost_coefficient result_type;}{}
\ccGlue
\ccTypedef{typedef PolynomialTraits_d::Polynomial_d first_argument_type ;}{}
\ccGlue
\ccTypedef{typedef Exponent_vector second_argument_type;}{}
\ccCreationVariable{construct_polynomial}
\ccOperations
\ccMethod{result_type operator()( first_argument_type p,
second_argument_type v);}{
Returns the innermost coefficient of the monomial defined by the given \ccc{Exponent_vector} $v$. }
%\ccHasModels
\ccSeeAlso
\ccRefIdfierPage{Polynomial_d}\\
\ccRefIdfierPage{PolynomialTraits_d}\\
\ccRefIdfierPage{PolynomialTraits_d::TotalDegree}
\end{ccRefConcept}

View File

@ -19,7 +19,7 @@
\ccRefConceptPage{PolynomialTraits_d::ConstructPolynomial}\\
\ccRefConceptPage{PolynomialTraits_d::GetCoefficient}\\
\ccRefConceptPage{PolynomialTraits_d::GetInnermostCoefficient}?\\
\ccRefConceptPage{PolynomialTraits_d::GetInnermostCoefficient}\\
\ccRefConceptPage{PolynomialTraits_d::Swap}\\
\ccRefConceptPage{PolynomialTraits_d::Move}\\

View File

@ -8,6 +8,8 @@
\input{Polynomial_ref/PolynomialTraits_d.tex}
\input{Polynomial_ref/PolynomialTraits_d_ConstructPolynomial.tex}
\input{Polynomial_ref/PolynomialTraits_d_GetCoefficient.tex}
\input{Polynomial_ref/PolynomialTraits_d_GetInnermostCoefficient.tex}
\input{Polynomial_ref/PolynomialTraits_d_Swap.tex}
\input{Polynomial_ref/PolynomialTraits_d_Move.tex}