Concept to represent algebraic numbers of degree up to 2 over a RingNumberType denoted as RT.
|
| |||
Returns the
smaller or larger root of the equation aX2+bX+c=0, if s
is true or false, respectively.
| ||||
|
| |||
Returns the
smaller or larger root of the equation aX2+bX+c=0, if s
is true or false, respectively.
| ||||
|
| |||
Constructs
the number α+ β√γ.
|
The comparison operators ==, !=, <, >, <=, >= as well as the sign and compare functions need to be provided to compare elements of types RootOf_2, RT and FT.
In addition, the following operations must be provided:
|
|
|
|
|
|
|
|
|
|
|
as well as
|
| Addition of two algebraic numbers, in the special case when they have been constructed from equations having the same discriminant. |
and similarly for operators -, * and /.
|
|
|
|
|
|
|
|
|
|
|
double (non exact)
CGAL::Root_of_2, etc
CGAL::make_root_of_2
CGAL::Root_of_2<RT>
CGAL::Root_of_traits_2<RT>
AlgebraicKernelForCircles::PolynomialForCircles_2_2
AlgebraicKernelForCircles