cgal/Modular_arithmetic/doc_tex/Modular_arithmetic_ref/ModularTraits_ModularImage.tex

28 lines
725 B
TeX

\begin{ccRefFunctionObjectConcept}{ModularTraits::ModularImage}
\ccDefinition
This \ccc{AdaptableUnaryFunction} computes the modular image of the given value
with respect to the homomorphism $\varphi$ from the \ccc{ModularTraits::Type} into
\ccc{ModularTraits::Modular_type}.
The homomorphism preserves the mapping of \ccc{int} into both types
, i.e., $\varphi(Type(i)) == Modular\_type(i)$.
\ccTypes
\ccTypedef{typedef ModularTraits::Modular_type result_type;}{}
\ccTypedef{typedef ModularTraits::Modular_type argument_type;}{}
\ccCreationVariable{fo}
\ccMethod{
result_type
operator()(const argument_type &);}{
computes $\varphi(x)$.
}
\ccRefines
\ccc{AdaptableUnaryFunction}
\end{ccRefFunctionObjectConcept}