|
| | ARingRR () |
| size_t | characteristic () const |
| unsigned long | get_precision () const |
| void | text_out (buffer &o) const |
| unsigned int | computeHashValue (const elem &a) const |
| bool | is_unit (const ElementType &f) const |
| bool | is_zero (const ElementType &f) const |
| bool | is_equal (const ElementType &f, const ElementType &g) const |
| int | compare_elems (const ElementType &f, const ElementType &g) const |
| void | to_ring_elem (ring_elem &result, const ElementType &a) const |
| void | from_ring_elem (ElementType &result, const ring_elem &a) const |
| ElementType | from_ring_elem_const (const ring_elem &a) const |
| void | init (ElementType &result) const |
| void | init_set (ElementType &result, const ElementType &a) const |
| void | set (ElementType &result, const ElementType &a) const |
| void | set_zero (ElementType &result) const |
| void | copy (ElementType &result, const ElementType &a) const |
| void | set_from_long (ElementType &result, long a) const |
| void | set_var (ElementType &result, int v) const |
| void | set_from_mpz (ElementType &result, mpz_srcptr a) const |
| bool | set_from_mpq (ElementType &result, mpq_srcptr a) const |
| bool | set_from_BigReal (ElementType &result, gmp_RR a) const |
| bool | set_from_double (ElementType &result, double a) const |
| void | negate (ElementType &result, const ElementType &a) const |
| void | invert (ElementType &result, const ElementType &a) const |
| void | add (ElementType &result, const ElementType &a, const ElementType &b) const |
| void | addMultipleTo (ElementType &result, const ElementType &a, const ElementType &b) const |
| void | subtract (ElementType &result, const ElementType &a, const ElementType &b) const |
| void | subtract_multiple (ElementType &result, const ElementType &a, const ElementType &b) const |
| void | mult (ElementType &result, const ElementType &a, const ElementType &b) const |
| void | divide (ElementType &result, const ElementType &a, const ElementType &b) const |
| void | abs_squared (ElementType &result, const ElementType &a) const |
| void | abs (ElementType &result, const ElementType &a) const |
| void | power (ElementType &result, const ElementType &a, int n) const |
| void | power_mpz (ElementType &result, const ElementType &a, mpz_srcptr n) const |
| void | swap (ElementType &a, ElementType &b) const |
| void | elem_text_out (buffer &o, const ElementType &a, bool p_one=true, bool p_plus=false, bool p_parens=false) const |
| void | syzygy (const ElementType &a, const ElementType &b, ElementType &x, ElementType &y) const |
| void | random (ElementType &result) const |
| void | eval (const RingMap *map, ElementType &f, int first_var, ring_elem &result) const |
| void | zeroize_tiny (gmp_RR epsilon, ElementType &a) const |
| void | increase_norm (mpfr_ptr norm, const ElementType &a) const |
| double | coerceToDouble (const ElementType &a) const |
aring-style adapter for double-precision real numbers.
- Note
- AI-generated documentation. Verify against the source before relying on it.
ElementType is a plain double. Fixed precision (53 bits per get_precision()), characteristic 0. ringID = ring_RR. Hash values are derived from the double cast to unsigned int. Use ARingRRR instead when arbitrary precision is needed.
Definition at line 61 of file aring-RR.hpp.