diff --git a/.gitattributes b/.gitattributes index d392c6dfcfd..8bdfa9ef549 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_GetCoefficient.tex b/Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_GetCoefficient.tex new file mode 100644 index 00000000000..9895a70fcaa --- /dev/null +++ b/Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_GetCoefficient.tex @@ -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} diff --git a/Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_GetInnermostCoefficient.tex b/Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_GetInnermostCoefficient.tex new file mode 100644 index 00000000000..76b2a8729b4 --- /dev/null +++ b/Polynomial/doc_tex/Polynomial_ref/PolynomialTraits_d_GetInnermostCoefficient.tex @@ -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} diff --git a/Polynomial/doc_tex/Polynomial_ref/intro.tex b/Polynomial/doc_tex/Polynomial_ref/intro.tex index d924dfa0c5c..d2572dff100 100644 --- a/Polynomial/doc_tex/Polynomial_ref/intro.tex +++ b/Polynomial/doc_tex/Polynomial_ref/intro.tex @@ -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}\\ diff --git a/Polynomial/doc_tex/Polynomial_ref/main.tex b/Polynomial/doc_tex/Polynomial_ref/main.tex index 5fa05140b19..616bd3a522a 100644 --- a/Polynomial/doc_tex/Polynomial_ref/main.tex +++ b/Polynomial/doc_tex/Polynomial_ref/main.tex @@ -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}