a data structure to represent an expression in a linearMatrix element A LinearMatrixElement is a (finite) sum of LinearMatrixElementTerms, with an optional additive constant
More...
#include <OSMatrix.h>
a data structure to represent an expression in a linearMatrix element A LinearMatrixElement is a (finite) sum of LinearMatrixElementTerms, with an optional additive constant
- Parameters
-
numberOfVarIdx | gives the number of terms in the expression |
Definition at line 411 of file OSMatrix.h.
§ LinearMatrixElement()
LinearMatrixElement::LinearMatrixElement |
( |
| ) |
|
§ ~LinearMatrixElement()
LinearMatrixElement::~LinearMatrixElement |
( |
| ) |
|
§ IsEqual()
A function to check for the equality of two objects.
§ setRandom()
bool LinearMatrixElement::setRandom |
( |
double |
density, |
|
|
bool |
conformant, |
|
|
int |
iMin, |
|
|
int |
iMax |
|
) |
| |
A function to make a random instance of this class.
- Parameters
-
density | corresponds to the probability that a particular child element is created |
conformant | if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" attributes and <XXX> children) |
iMin | lowest index value (inclusive) that a variable reference in this matrix can take |
iMax | greatest index value (inclusive) that a variable reference in this matrix can take |
§ deepCopyFrom()
A function to make a deep copy of an instance of this class.
- Parameters
-
that | the instance from which information is to be copied |
- Returns
- whether the copy was created successfully
§ numberOfVarIdx
int LinearMatrixElement::numberOfVarIdx |
§ constant
double LinearMatrixElement::constant |
§ varIdx
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/OS-2.10.1/src/OSCommonInterfaces/OSMatrix.h