A PPL coefficient.
More...
|
| | Coefficient (int i) |
| | Builds a coefficient valued i.
|
| | Coefficient (long l) |
| | Builds a coefficient valued l.
|
| | Coefficient (BigInteger bi) |
| | Builds a coefficient valued bi.
|
| | Coefficient (String s) |
| | Builds a coefficient from the decimal representation in s.
|
| | Coefficient (Coefficient c) |
| | Builds a copy of c.
|
| String | toString () |
| | Returns a String representation of this.
|
| BigInteger | getBigInteger () |
| | Returns the value held by this.
|
|
| static native int | bits () |
| | Returns the number of bits of PPL coefficients; 0 if unbounded.
|
A PPL coefficient.
Objects of type Coefficient are used to implement the integral valued coefficients occurring in linear expressions, constraints, generators and so on.
◆ Coefficient() [1/5]
| parma_polyhedra_library.Coefficient.Coefficient |
( |
int | i | ) |
|
|
inline |
Builds a coefficient valued i.
- Parameters
-
| i | The index of the selected element or space dimension. |
◆ Coefficient() [2/5]
| parma_polyhedra_library.Coefficient.Coefficient |
( |
long | l | ) |
|
|
inline |
Builds a coefficient valued l.
- Parameters
-
| l | The source integer or linear expression to copy. |
◆ Coefficient() [3/5]
| parma_polyhedra_library.Coefficient.Coefficient |
( |
BigInteger | bi | ) |
|
|
inline |
Builds a coefficient valued bi.
- Parameters
-
| bi | The arbitrary-precision integer value to copy. |
◆ Coefficient() [4/5]
| parma_polyhedra_library.Coefficient.Coefficient |
( |
String | s | ) |
|
|
inline |
Builds a coefficient from the decimal representation in s.
- Exceptions
-
| java.lang.NumberFormatException | Thrown if s does not contain a valid decimal representation. |
- Parameters
-
| s | The textual integer value to parse. |
◆ Coefficient() [5/5]
| parma_polyhedra_library.Coefficient.Coefficient |
( |
Coefficient | c | ) |
|
|
inline |
Builds a copy of c.
- Parameters
-
| c | The source coefficient used to construct the object. |
◆ toString()
| String parma_polyhedra_library.Coefficient.toString |
( |
| ) |
|
|
inline |
Returns a String representation of this.
- Returns
- A String representation of
this.
◆ getBigInteger()
| BigInteger parma_polyhedra_library.Coefficient.getBigInteger |
( |
| ) |
|
|
inline |
Returns the value held by this.
- Returns
- The value held by
this.
◆ bits()
| native int parma_polyhedra_library.Coefficient.bits |
( |
| ) |
|
|
static |
Returns the number of bits of PPL coefficients; 0 if unbounded.
- Returns
- The number of bits of PPL coefficients; 0 if unbounded.
The documentation for this class was generated from the following file: