GeneralMatrixValues Class Reference

a data structure to represent the nonzeros in a generalMatrix element More...

#include <OSMatrix.h>

Inheritance diagram for GeneralMatrixValues:
Inheritance graph
[legend]
Collaboration diagram for GeneralMatrixValues:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GeneralMatrixValues ()
 ---------- Methods for class GeneralMatrixValues ----------
 ~GeneralMatrixValues ()
bool IsEqual (GeneralMatrixValues *that)
 A function to check for the equality of two objects.
bool setRandom (double density, bool conformant, int iMin, int iMax)
 A function to make a random instance of this class.
virtual bool deepCopyFrom (GeneralMatrixValues *that)
 A function to make a deep copy of an instance of this class.

Public Attributes

ScalarExpressionTree ** el

Detailed Description

a data structure to represent the nonzeros in a generalMatrix element

Definition at line 639 of file OSMatrix.h.


Constructor & Destructor Documentation

GeneralMatrixValues::GeneralMatrixValues (  ) 

---------- Methods for class GeneralMatrixValues ----------

Definition at line 5188 of file OSMatrix.cpp.

GeneralMatrixValues::~GeneralMatrixValues (  ) 

Definition at line 5196 of file OSMatrix.cpp.


Member Function Documentation

bool GeneralMatrixValues::IsEqual ( GeneralMatrixValues that  ) 

A function to check for the equality of two objects.

Definition at line 5231 of file OSMatrix.cpp.

bool GeneralMatrixValues::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
bool GeneralMatrixValues::deepCopyFrom ( GeneralMatrixValues that  )  [virtual]

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

Reimplemented from MatrixElementValues.

Definition at line 5272 of file OSMatrix.cpp.


Member Data Documentation

Definition at line 642 of file OSMatrix.h.


The documentation for this class was generated from the following files:

Generated on 5 Jul 2015 by  doxygen 1.6.1