cgal/Algebraic_foundations/doc_tex/Algebraic_foundations_ref/AlgebraicStructureTraits_Di...

38 lines
1.1 KiB
TeX

\begin{ccRefConcept}{AlgebraicStructureTraits::DivMod}
\ccDefinition
\ccc{AdaptableBinaryFunction} computes the quotient from division
with remainder.
\ccRefines
\ccc{AdaptableFunction}
\ccTypes
\ccTypedef{typedef AlgebraicStructureTraits::AS result_type;}{}
\ccTypedef{typedef AlgebraicStructureTraits::AS first_argument_type;}{}
\ccTypedef{typedef AlgebraicStructureTraits::AS second_argument_type;}{}
\ccTypedef{typedef AlgebraicStructureTraits::AS third_argument_type;}{}
\ccTypedef{typedef AlgebraicStructureTraits::AS fourth_argument_type;}{}
\ccOperations
\ccMethod{result_type operator()(
const first_argument_type& x,
const second_argument_type& y,
third_argument_type& q,
fourth_argument_type& r,
);}{ computes the quotient $q$ and remainder $r$, such that $x = q*y + r$
and $r$ minimal with respect to the euclidean norm on AS. }
%\ccHasModels
\ccSeeAlso
\ccRefIdfierPage{AlgebraicStructureTraits}\\
\ccRefIdfierPage{AlgebraicStructureTraits::Mod}\\
\ccRefIdfierPage{AlgebraicStructureTraits::Div}\\
\ccRefIdfierPage{AlgebraicStructureTraits::DivMod}\\
\end{ccRefConcept}