a data structure to represent a term in a linearMatrix element A term has the form c*x_{k}, where c defaults to 1 and k is a valid index for a variable This is essentially an index-value pair, but with the presence of a default value
More...
#include <OSMatrix.h>
a data structure to represent a term in a linearMatrix element A term has the form c*x_{k}, where c defaults to 1 and k is a valid index for a variable This is essentially an index-value pair, but with the presence of a default value
Definition at line 338 of file OSMatrix.h.
LinearMatrixElementTerm::LinearMatrixElementTerm |
( |
| ) |
|
LinearMatrixElementTerm::~LinearMatrixElementTerm |
( |
| ) |
|
A function to check for the equality of two objects.
bool LinearMatrixElementTerm::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 |
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
int LinearMatrixElementTerm::idx |
double LinearMatrixElementTerm::coef |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/OS-2.9.3/src/OSCommonInterfaces/OSMatrix.h