|
|
| | coeff () |
| | Makes a double scalar coeff equal to 0.0.
|
| |
| | coeff (const coeff &x) |
| | Makes a copy of a coeff.
|
| |
| | coeff (const scalar &x) |
| | Makes a scalar coeff from a scalar (copied).
|
| |
| | coeff (int x) |
| | Makes a MPQ scalar coeff from a native integer.
|
| |
| | coeff (long x) |
| | Makes a MPQ scalar coeff from a native integer.
|
| |
| | coeff (double x) |
| | Makes a double scalar coeff from a double.
|
| |
| | coeff (const frac &x) |
| | Makes a MPQ scalar coeff from a fraction with native integer coefficients.
|
| |
| | coeff (const mpq_class &x) |
| | Makes a MPQ scalar coeff from a MPQ (copied).
|
| |
| | coeff (mpfr_t x) |
| | Makes a MPFR scalar coeff from a MPFR (copied).
|
| |
| | coeff (const interval &x) |
| | Makes an interval coeff from an interval (copied).
|
| |
| | coeff (const scalar &inf, const scalar &sup) |
| | Makes an interval coeff from two scalar bounds (copied).
|
| |
| | coeff (int inf, int sup) |
| | Makes an interval coeff with MPQ bounds from native integer bounds.
|
| |
| | coeff (long inf, long sup) |
| | Makes an interval coeff with MPQ bounds from native integer bounds.
|
| |
| | coeff (double inf, double sup) |
| | Makes an interval coeff with double bounds from double bounds.
|
| |
| | coeff (const frac &inf, const frac &sup) |
| | Makes an interval coeff with MPQ bounds from fractions with native integer coefficients.
|
| |
| | coeff (const mpq_class &inf, const mpq_class &sup) |
| | Makes an interval coeff with MPQ bounds from MPQ bounds (copied).
|
| |
| | coeff (mpfr_t inf, mpfr_t sup) |
| | Makes an interval coeff with MPFR bounds from MPFR bounds (copied).
|
| |
| | coeff (top t) |
| | Makes an interval coeff representing ]-oo,+oo[.
|
| |
| | coeff (bottom t) |
| | Makes an empty interval coeff [+1;-1].
|
| |
|
| | ~coeff () |
| |
|
| ap_coeff_discr_t | get_discr () const |
| | Whether the coeff is a scalar or an interval.
|
| |
| scalar & | get_scalar () |
| | Returns a (modifiable) reference to the scalar contained in the coeff.
|
| |
| const scalar & | get_scalar () const |
| | Returns a reference to the scalar contained in the coeff.
|
| |
| interval & | get_interval () |
| | Returns a (modifiable) reference to the interval contained in the coeff.
|
| |
| const interval & | get_interval () const |
| | Returns a reference to the interval contained in the coeff.
|
| |
|
| void | reduce () |
| | Converts a singleton intervals to scalar.
|
| |
| void | neg () |
| | Negates *this.
|
| |
| coeff | operator- () const |
| | Returns the opposite of *this.
|
| |
| long | hash () const |
| | Returns a hash code.
|
| |
|
| const ap_coeff_t * | get_ap_coeff_t () const |
| | Returns a pointer to the internal APRON object stored in *this.
|
| |
| ap_coeff_t * | get_ap_coeff_t () |
| | Returns a pointer to the internal APRON object stored in *this.
|
| |
| void * | operator new (size_t sz) |
| |
| void * | operator new[] (size_t sz) |
| |
| void | operator delete (void *p) |
| |
| void | operator delete[] (void *p) |
| |
|
| coeff & | operator= (const coeff &x) |
| | Copies the coeff into *this (setting its type and value).
|
| |
| coeff & | operator= (const scalar &x) |
| | Copies the scalar into *this, setting its type to scalar coeff.
|
| |
| coeff & | operator= (int x) |
| | Assigns a native integer to *this, setting its type to MPQ scalar coeff.
|
| |
| coeff & | operator= (long x) |
| | Assigns a native integer to *this, setting its type to MPQ scalar coeff.
|
| |
| coeff & | operator= (double x) |
| | Assigns a double to *this, setting its type to double scalar coeff.
|
| |
| coeff & | operator= (const frac &x) |
| | Assigns a native integer fraction to *this, setting its type to MPQ scalar coeff.
|
| |
| coeff & | operator= (const mpq_class &x) |
| | Assigns a MPQ to *this, setting its type to MPQ scalar coeff and copying the MPQ.
|
| |
| coeff & | operator= (mpfr_t x) |
| | Assigns a MPFR to *this, setting its type to MPFR scalar coeff and copying the MPFR.
|
| |
| coeff & | operator= (const interval &x) |
| | Copies the interval into *this, setting its type to interval coeff.
|
| |
| coeff & | operator= (top t) |
| | Set *this to the top interval (]-oo;+oo[), setting its type to interval coeff.
|
| |
| coeff & | operator= (bottom t) |
| | Set *this to the empty interval ([+1;-1])., setting its type to interval coeff.
|
| |
| coeff & | set (const coeff &x) |
| | Copies the coeff into *this (setting its type and value).
|
| |
| coeff & | set (const scalar &x) |
| | Copies the scalar into *this, setting its type to scalar coeff.
|
| |
| coeff & | set (int x) |
| | Assigns a native integer to *this, setting its type to MPQ scalar coeff.
|
| |
| coeff & | set (long x) |
| | Assigns a native integer to *this, setting its type to MPQ scalar coeff.
|
| |
| coeff & | set (double x) |
| | Assigns a double to *this, setting its type to double scalar coeff.
|
| |
| coeff & | set (const frac &x) |
| | Assigns a native integer fraction to *this, setting its type to MPQ scalar coeff.
|
| |
| coeff & | set (const mpq_class &x) |
| | Assigns a MPQ to *this, setting its type to MPQ scalar coeff and copying the MPQ.
|
| |
| coeff & | set (mpfr_t x) |
| | Assigns a MPFR to *this, setting its type to MPFR scalar coeff and copying the MPFR.
|
| |
| coeff & | set (const interval &x) |
| | Copies the interval into *this, setting its type to interval coeff.
|
| |
| coeff & | set (const scalar &inf, const scalar &sup) |
| | Sets *this to an interval coeff with the given scalar bounds (copied).
|
| |
| coeff & | set (int inf, int sup) |
| | Sets *this to an interval coeff with MPQ scalar bounds.
|
| |
| coeff & | set (long inf, long sup) |
| | Sets *this to an interval coeff with MPQ scalar bounds.
|
| |
| coeff & | set (double inf, double sup) |
| | Sets *this to an interval coeff with double scalar bounds.
|
| |
| coeff & | set (const frac &inf, const frac &sup) |
| | Sets *this to an interval coeff with MPQ scalar bounds.
|
| |
| coeff & | set (const mpq_class &inf, const mpq_class &sup) |
| | Sets *this to an interval coeff with MPQ scalar bounds (copied).
|
| |
| coeff & | set (mpfr_t inf, mpfr_t sup) |
| | Sets *this to an interval coeff with MPFR scalar bounds (copied).
|
| |
| coeff & | set (top t) |
| | Sets *this to the top interval (]-oo;+oo[), setting its type to interval coeff.
|
| |
| coeff & | set (bottom t) |
| | Sets *this to the empty interval ([+1;-1])., setting its type to interval coeff.
|
| |
Coefficient (ap_coeff_t wrapper).
A coeff is either a scalar or an interval.