![]() |
Basic Polynomial Algebra Subprograms (BPAS)
v. 1.652
|
Interval lists for real roots of multivariate polynomials. More...
#include <interval.h>
Public Member Functions | |
| Intervals () | |
| Construct intervals. More... | |
| Intervals (int v) | |
| Construct intervals with number of variates. More... | |
| Intervals (const Intervals &b) | |
| Copy construct. More... | |
| ~Intervals () | |
| Destroy intervals. More... | |
| Intervals & | operator= (Intervals b) |
| Overload operator =. More... | |
| int | numberOfVariables () |
| Get number of variables. More... | |
| int | numberOfIntervals () |
| Get the number of roots. More... | |
| void | pushInterval (Interval pI) |
| Push an interval to the end of the list. More... | |
| void | pushInterval (lfixq l, lfixq r) |
| Push an interval to the end of the list. More... | |
| void | pushInterval (double l, double r) |
| void | popInterval () |
| Pop the last interval. More... | |
| void | clear () |
| Clear all the intervals. More... | |
| Interval * | interval (int k, int l=0) |
| Get a root of a variate. More... | |
| Intervals | root (int k) |
| Get a root of variates. More... | |
| void | setVariableNames (const std::vector< Symbol > &xs) |
| Set variable names. More... | |
| void | copyFrom (Intervals &pIs, int k) |
| Copy the k-th root. More... | |
| void | scale (int k) |
| Scale to 2^k. More... | |
| void | transformLeft () |
| Scale to that over 2. More... | |
| void | transformRight () |
| Scale to that plus 1 and then over 2. More... | |
| void | negate () |
| Negate each interval and re-sort. More... | |
| void | concatenate (Intervals &pIs) |
| Merge another intervals into the end of the current one. More... | |
| bool | isExactEqual (Intervals &pIs) |
Friends | |
| std::ostream & | operator<< (std::ostream &out, Intervals &a) |
| Overload stream operator <<. More... | |
Interval lists for real roots of multivariate polynomials.
i.e. []*..*[], .., []*..*[]
|
inline |
Construct intervals.
|
inline |
Construct intervals with number of variates.
| v | Number of variates |
|
inline |
Destroy intervals.
|
inline |
Clear all the intervals.
| void Intervals::concatenate | ( | Intervals & | pIs | ) |
Merge another intervals into the end of the current one.
| pIs | A list of intervals |
| void Intervals::copyFrom | ( | Intervals & | pIs, |
| int | k | ||
| ) |
Copy the k-th root.
| pIs | A list of roots |
| k | Offset of roots |
|
inline |
Get a root of a variate.
| k | Offset of roots |
| l | Offset of variables in an ascending order |
| void Intervals::negate | ( | ) |
Negate each interval and re-sort.
|
inline |
Get the number of roots.
|
inline |
Get number of variables.
|
inline |
Pop the last interval.
|
inline |
Push an interval to the end of the list.
| pI | An interval |
|
inline |
|
inline |
Get a root of variates.
| k | Offset of roots |
| void Intervals::scale | ( | int | k | ) |
Scale to 2^k.
| k | The power of 2 |
|
inline |
Set variable names.
| xs | Variable names |
| void Intervals::transformLeft | ( | ) |
Scale to that over 2.
| void Intervals::transformRight | ( | ) |
Scale to that plus 1 and then over 2.
|
friend |
Overload stream operator <<.
| out | Stream object |
| a | Intervals |
1.8.13