|
| | ARingCCC (unsigned long precision) |
| | ARingCCC () |
| size_t | characteristic () const |
| unsigned long | get_precision () const |
| void | text_out (buffer &o) const |
| const RealRingType & | real_ring () const |
| unsigned int | computeHashValue (const ElementType &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 |
| 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_BigComplex (ElementType &result, gmp_CC a) const |
| bool | set_from_double (ElementType &result, double a) const |
| bool | set_from_complex_double (ElementType &result, double re, double im) const |
| bool | set_from_complex_mpfr (ElementType &result, mpfr_srcptr re, const mpfr_srcptr im) 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 RealElementType &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 &res, const ElementType &a, const RealElementType &b) const |
| void | mult (ElementType &res, const ElementType &a, const ElementType &b) const |
| void | divide (ElementType &res, const ElementType &a, const RealElementType &b) const |
| void | divide (ElementType &res, const ElementType &a, const ElementType &b) const |
| void | abs_squared (ARingRRR::ElementType &result, const ElementType &a) const |
| void | abs (ARingRRR::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 |
| gmp_CC | toBigComplex (const ElementType &a) const |
| bool | set_from_RRR (ElementType &result, const ARingRRR::ElementType &a) const |
| const ARingRRR::ElementType & | realPartReference (const ElementType &a) const |
| const ARingRRR::ElementType & | imaginaryPartReference (const ElementType &a) const |
| void | set_real_part (ElementType &c, ARingRRR::ElementType &a) const |
| void | set_imaginary_part (ElementType &c, ARingRRR::ElementType &a) const |
| void | set_from_BigReals (ElementType &result, gmp_RR re, gmp_RR im) const |
| void | set_from_doubles (ElementType &result, double re, double im) const |
| void | zeroize_tiny (gmp_RR epsilon, ElementType &a) const |
| void | increase_norm (gmp_RRmutable norm, const ElementType &a) const |
aring-style adapter for arbitrary-precision complex numbers, stored as (MPFR, MPFR) pairs.
- Note
- AI-generated documentation. Verify against the source before relying on it.
ElementType is cc_struct — two MPFR scalars for the real and imaginary parts. Holds a companion ARingRRR mRRR at the same working precision so the per-component arithmetic stays consistent. ringID = ring_CCC.
Definition at line 70 of file aring-CCC.hpp.