Class MatrixValue
Represents values consisting of a Matrix of numbers in the evaluation of DecisionModels.
Inherited Members
Namespace: Quantellia.WMServer.DecisionModeler.ValueTypes
Assembly: WMServer.dll
Syntax
public class MatrixValue : CollectionElementValue
Remarks
This class wraps around the Matrix class from the MathDotNet Numerics package. It is compatible with Matrix and Matrix operations from that package.
Note that the default storage format is as a dense matrix, that is, each value is stored literally even if it is zero. This is adequate for
low order matrices, or matrices where a relatively low proportion of the values are zero. However in large matrices with largely zero values,
dense storage is inefficient, and spare stoarge may be used. This is determined by the value of the isDense
parameter of the
class's constructorsee>.
Constructors
MatrixValue()
Declaration
public MatrixValue()
MatrixValue(int, int, bool)
Declaration
public MatrixValue(int rows, int cols, bool isDense = true)
Parameters
Type | Name | Description |
---|---|---|
int | rows | |
int | cols | |
bool | isDense |
Properties
Value
Gets the Matrix object that holds the value of this object.
Declaration
public Matrix<double> Value { get; set; }
Property Value
Type | Description |
---|---|
Matrix<double> |