CGAL 5.1 - Algebraic Foundations
FractionTraits_::Decompose Class Reference

#include <Concepts/FractionTraits.h>

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\). More...
 

Member Function Documentation

◆ operator()()

void FractionTraits_::Decompose::operator() ( FractionTraits::Type  f,
FractionTraits::Numerator_type n,
FractionTraits::Denominator_type d 
)

decompose \( f\) into numerator \( n\) and denominator \( d\).