#include <algebraic.hpp>
Public Types | |
| typedef TP | base_type |
| typedef TS | interval_limit_type |
| typedef Poly | polynom_type |
| typedef Seg | interval_type |
| typedef Config | config_type |
Public Member Functions | |
| algebraic () | |
| Creates zero. | |
| algebraic (const TS &x) | |
| Creates number as just a copy of given value. | |
| algebraic (const Poly &px) | |
| Creates number as the minimal root of given polynomial. | |
| algebraic (const Poly &px, const Seg &s) | |
| operator double () const | |
| const Poly & | polynom () const |
| Access to the polynomial. | |
| const Seg & | segment () const |
| Access to the boundary segment. | |
| Poly & | polynom () |
| Access to the polynomial. | |
| Seg & | segment () |
| Access to the boundary segment. | |
| bool | is_normal () const |
| Check if representation of the number is valid. | |
| void | normalize () const |
| Performs normalization of the number. | |
| algebraic | operator- () const |
| const algebraic & | operator+ () const |
| algebraic & | operator++ () |
| algebraic & | operator-- () |
| algebraic | operator++ (int) |
| algebraic | operator-- (int) |
| template<typename TP2, typename TS2, typename Poly2, typename Seg2, typename Cfg2> | |
| algebraic & | operator+= (const algebraic< TP2, TS2, Poly2, Seg2, Cfg2 > &x) |
| template<typename TP2, typename TS2, typename Poly2, typename Seg2, typename Cfg2> | |
| algebraic & | operator-= (const algebraic< TP2, TS2, Poly2, Seg2, Cfg2 > &x) |
| template<typename TP2, typename TS2, typename Poly2, typename Seg2, typename Cfg2> | |
| algebraic & | operator *= (const algebraic< TP2, TS2, Poly2, Seg2, Cfg2 > &x) |
| template<typename TP2, typename TS2, typename Poly2, typename Seg2, typename Cfg2> | |
| algebraic & | operator/= (const algebraic< TP2, TS2, Poly2, Seg2, Cfg2 > &x) |
| bool | is_null () const |
| bool | is_unit () const |
| bool | is_opposite_unit () const |
| bool | operator! () const |
| operator bool () const | |
Definition at line 87 of file algebraic.hpp.
| typedef TP Arageli::algebraic< TP, TS, Poly, Seg, Config >::base_type |
Definition at line 98 of file algebraic.hpp.
| typedef Config Arageli::algebraic< TP, TS, Poly, Seg, Config >::config_type |
Definition at line 102 of file algebraic.hpp.
| typedef TS Arageli::algebraic< TP, TS, Poly, Seg, Config >::interval_limit_type |
Definition at line 99 of file algebraic.hpp.
| typedef Seg Arageli::algebraic< TP, TS, Poly, Seg, Config >::interval_type |
Definition at line 101 of file algebraic.hpp.
| typedef Poly Arageli::algebraic< TP, TS, Poly, Seg, Config >::polynom_type |
Definition at line 100 of file algebraic.hpp.
| Arageli::algebraic< TP, TS, Poly, Seg, Config >::algebraic | ( | ) | [inline] |
| Arageli::algebraic< TP, TS, Poly, Seg, Config >::algebraic | ( | const TS & | x | ) | [inline] |
| Arageli::algebraic< TP, TS, Poly, Seg, Config >::algebraic | ( | const Poly & | px | ) | [inline] |
Creates number as the minimal root of given polynomial.
Definition at line 115 of file algebraic.hpp.
| Arageli::algebraic< TP, TS, Poly, Seg, Config >::algebraic | ( | const Poly & | px, | |
| const Seg & | s | |||
| ) | [inline] |
Definition at line 124 of file algebraic.hpp.
| bool Arageli::algebraic< TP, TS, Poly, Seg, Config >::is_normal | ( | ) | const [inline] |
| bool Arageli::algebraic< TP, TS, Poly, Seg, Config >::is_null | ( | ) | const [inline] |
Definition at line 237 of file algebraic.hpp.
| bool Arageli::algebraic< TP, TS, Poly, Seg, Config >::is_opposite_unit | ( | ) | const [inline] |
Definition at line 240 of file algebraic.hpp.
| bool Arageli::algebraic< TP, TS, Poly, Seg, Config >::is_unit | ( | ) | const [inline] |
Definition at line 239 of file algebraic.hpp.
| void Arageli::algebraic< TP, TS, Poly, Seg, Config >::normalize | ( | ) | const [inline] |
| algebraic& Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator *= | ( | const algebraic< TP2, TS2, Poly2, Seg2, Cfg2 > & | x | ) | [inline] |
Definition at line 220 of file algebraic.hpp.
| Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator bool | ( | ) | const [inline] |
Definition at line 244 of file algebraic.hpp.
| Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator double | ( | ) | const [inline] |
Definition at line 131 of file algebraic.hpp.
| bool Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator! | ( | ) | const [inline] |
Definition at line 243 of file algebraic.hpp.
| const algebraic& Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator+ | ( | ) | const [inline] |
Definition at line 184 of file algebraic.hpp.
| algebraic Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator++ | ( | int | ) | [inline] |
Definition at line 198 of file algebraic.hpp.
| algebraic& Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator++ | ( | ) | [inline] |
Definition at line 186 of file algebraic.hpp.
| algebraic& Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator+= | ( | const algebraic< TP2, TS2, Poly2, Seg2, Cfg2 > & | x | ) | [inline] |
Definition at line 202 of file algebraic.hpp.
| algebraic Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator- | ( | ) | const [inline] |
Definition at line 168 of file algebraic.hpp.
| algebraic Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator-- | ( | int | ) | [inline] |
Definition at line 199 of file algebraic.hpp.
| algebraic& Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator-- | ( | ) | [inline] |
Definition at line 192 of file algebraic.hpp.
| algebraic& Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator-= | ( | const algebraic< TP2, TS2, Poly2, Seg2, Cfg2 > & | x | ) | [inline] |
Definition at line 211 of file algebraic.hpp.
| algebraic& Arageli::algebraic< TP, TS, Poly, Seg, Config >::operator/= | ( | const algebraic< TP2, TS2, Poly2, Seg2, Cfg2 > & | x | ) | [inline] |
Definition at line 229 of file algebraic.hpp.
| Poly& Arageli::algebraic< TP, TS, Poly, Seg, Config >::polynom | ( | ) | [inline] |
| const Poly& Arageli::algebraic< TP, TS, Poly, Seg, Config >::polynom | ( | ) | const [inline] |
| Seg& Arageli::algebraic< TP, TS, Poly, Seg, Config >::segment | ( | ) | [inline] |
| const Seg& Arageli::algebraic< TP, TS, Poly, Seg, Config >::segment | ( | ) | const [inline] |
1.4.7