\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.10.2 - Algebraic Foundations
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
FractionTraits_::Decompose Concept Reference

Definition

Functor decomposing a Fraction into its numerator and denominator.

See Also
Fraction
FractionTraits
FractionTraits_::Compose
FractionTraits_::CommonFactor

Operations

void operator() (FractionTraits::Type f, FractionTraits::Numerator_type &n, FractionTraits::Denominator_type &d)
 decompose \( f\) into numerator \( n\) and denominator \( d\).