Show / Hide Table of Contents

Class MatrixValue

Represents values consisting of a Matrix of numbers in the evaluation of DecisionModels.

Inheritance
object
ElementValue
CollectionElementValue
MatrixValue
Inherited Members
ElementValue.Type
ElementValue.Create(object, string)
ElementValue.ToCSV(bool, string, string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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>
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE