Files
cgal/Algebraic_foundations/doc_tex/Algebraic_foundations_ref/RealEmbeddable.tex
T
Michael Hemmer 71b369c466 rename:
AlgebriacStructureTraits::Algebraic_structure  -> ::Type
RealEmbeddableTraits::Real_embeddable -> ::Type
CoercionTraits::Coercion_type -> ::Type
FractionTraits::Fraction -> ::Type
FractionTraits::Numerator -> ::Numerator_type
FractionTraits::Denominator -> ::Denominator_type

minor changes
2006-11-24 15:36:22 +00:00

63 lines
2.2 KiB
TeX

\begin{ccRefConcept}{RealEmbeddable}
\ccDefinition
A model of this concepts represents numbers that are embeddable on the real
axis. The type obeys the algebraic structure and compares two values according
to the total order of the real numbers.
Moreover, \ccc{CGAL::Real_embeddable_traits< RealEmebddable >} is a model of
\ccc{AlgebraicStructureTraits}\\
with:\\
- \ccc{CGAL::Real_embeddable_traits< RealEmebddable >::Is_real_embeddable} set to \ccc{Tag_true} \\
and functors :\\
- \ccc{CGAL::Real_embeddable_traits< RealEmebddable >::Is_zero} \\
- \ccc{CGAL::Real_embeddable_traits< RealEmebddable >::Abs} \\
- \ccc{CGAL::Real_embeddable_traits< RealEmebddable >::Sign} \\
- \ccc{CGAL::Real_embeddable_traits< RealEmebddable >::Is_positive} \\
- \ccc{CGAL::Real_embeddable_traits< RealEmebddable >::Is_negative} \\
- \ccc{CGAL::Real_embeddable_traits< RealEmebddable >::Compare} \\
- \ccc{CGAL::Real_embeddable_traits< RealEmebddable >::To_double} \\
- \ccc{CGAL::Real_embeddable_traits< RealEmebddable >::To_interval} \\
- \ccc{CGAL::Real_embeddable_traits< RealEmebddable >::Is_finite} \\
Remark:\\
If a number type is a model of both IntegralDomainWithoutDivision and
RealComparable, it follows that the ring represented by such a number type
is a sub-ring of the real numbers and hence has characteristic zero.
%( see http://mathworld.wolfram.com/CharacteristicField.html ).
\ccRefines
\ccc{Equality Comparable}\\
\ccc{LessThanComparable}
\ccOperations
\ccFunction{bool operator==(const RealEmbeddable &a,
const RealEmbeddable &b);}{}
\ccGlue
\ccFunction{bool operator!=(const RealEmbeddable &a,
const RealEmbeddable &b);}{}
\ccFunction{bool operator< (const RealEmbeddable &a,
const RealEmbeddable &b);}{}
\ccGlue
\ccFunction{bool operator<=(const RealEmbeddable &a,
const RealEmbeddable &b);}{}
\ccGlue
\ccFunction{bool operator> (const RealEmbeddable &a,
const RealEmbeddable &b);}{}
\ccGlue
\ccFunction{bool operator>=(const RealEmbeddable &a,
const RealEmbeddable &b);}{}
\ccGlue
\ccSeeAlso
\ccRefIdfierPage{RealEmbeddableTraits}\\
%\ccHasModels
\end{ccRefConcept}