CGAL 5.1 - Algebraic Foundations
FractionTraits_::Compose Class Reference

#include <Concepts/FractionTraits.h>

Definition

AdaptableBinaryFunction, returns the fraction of its arguments.

Refines:
AdaptableBinaryFunction
See also
Fraction
FractionTraits
FractionTraits_::Decompose
FractionTraits_::CommonFactor

Types

typedef FractionTraits::Type result_type
 
typedef FractionTraits::Numerator_type first_argument_type
 
typedef FractionTraits::Denominator_type second_argument_type
 

Operations

result_type operator() (first_argument_type n, second_argument_type d)
 return the fraction \( n/d\). More...
 

Member Typedef Documentation

◆ first_argument_type

◆ result_type

◆ second_argument_type

Member Function Documentation

◆ operator()()

result_type FractionTraits_::Compose::operator() ( first_argument_type  n,
second_argument_type  d 
)

return the fraction \( n/d\).