Click or drag to resize

ReadOnlyDoubleMatrix Class

Represents a read only collection of doubles arranged in rows and columns. Provides methods to operate algebraically on matrices when operands are both writable and read only.
Inheritance Hierarchy
SystemObject
  Novacta.AnalyticsReadOnlyDoubleMatrix

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public class ReadOnlyDoubleMatrix : IEnumerable<double>, 
	IEnumerable, IList<double>, ICollection<double>, 
	IReadOnlyList<double>, IReadOnlyCollection<double>, IComplexMatrixPatterns, 
	IMatrixPatterns, IReadOnlyTabularCollection<double, DoubleMatrix>, ITabularCollection<double, DoubleMatrix>

The ReadOnlyDoubleMatrix type exposes the following members.

Properties
  NameDescription
Public propertyColumnNames
Exposes the dictionary of column names, keyed by column indexes.
Public propertyCount
Gets the number of entries in this instance.
Public propertyHasColumnNames
Gets a value indicating whether this instance has at least a named column.
Public propertyHasRowNames
Gets a value indicating whether this instance has at least a named row.
Public propertyIsBidiagonal
Gets a value indicating whether this instance is bidiagonal.
Public propertyIsColumnVector
Gets a value indicating whether this instance is a column vector.
Public propertyIsDiagonal
Gets a value indicating whether this instance is diagonal.
Public propertyIsHermitian
Gets a value indicating whether this instance is Hermitian.
Public propertyIsHessenberg
Gets a value indicating whether this instance is Hessenberg.
Public propertyIsLowerBidiagonal
Gets a value indicating whether this instance is lower bidiagonal.
Public propertyIsLowerHessenberg
Gets a value indicating whether this instance is lower Hessenberg.
Public propertyIsLowerTriangular
Gets a value indicating whether this instance is lower triangular.
Public propertyIsReadOnly
Gets a value indicating whether this instance is read-only.
Public propertyIsRowVector
Gets a value indicating whether this instance is a row vector.
Public propertyIsScalar
Gets a value indicating whether this instance is scalar.
Public propertyIsSkewHermitian
Gets a value indicating whether this instance is Skew-Hermitian.
Public propertyIsSkewSymmetric
Gets a value indicating whether this instance is skew symmetric.
Public propertyIsSquare
Gets a value indicating whether this instance is square.
Public propertyIsSymmetric
Gets a value indicating whether this instance is symmetric.
Public propertyIsTriangular
Gets a value indicating whether this instance is triangular.
Public propertyIsTridiagonal
Gets a value indicating whether this instance is tridiagonal.
Public propertyIsUpperBidiagonal
Gets a value indicating whether this instance is upper bidiagonal.
Public propertyIsUpperHessenberg
Gets a value indicating whether this instance is upper Hessenberg.
Public propertyIsUpperTriangular
Gets a value indicating whether this instance is upper triangular.
Public propertyIsVector
Gets a value indicating whether this instance is a vector.
Public propertyCode exampleItemInt32
Gets the entry of this instance corresponding to the specified linear index.
Public propertyItemIndexCollection, IndexCollection
Gets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemIndexCollection, Int32
Gets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemIndexCollection, String
Gets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemInt32, IndexCollection
Gets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemInt32, Int32
Gets the element of this instance corresponding to the specified row and column indexes.
Public propertyItemInt32, String
Gets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemString, IndexCollection
Gets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemString, Int32
Gets the elements of this instance corresponding to the specified row and column indexes.
Public propertyItemString, String
Gets the elements of this instance corresponding to the specified row and column indexes.
Public propertyLowerBandwidth
Gets the lower bandwidth of this instance.
Public propertyName
Gets or sets the name of this instance.
Public propertyNumberOfColumns
Gets the number of columns of this instance.
Public propertyNumberOfRows
Gets the number of rows of this instance.
Public propertyRowNames
Exposes the dictionary of row names, keyed by row indexes.
Public propertyStorageOrder
Gets the storage order of this instance.
Public propertyStorageScheme
Gets the storage scheme of this instance.
Public propertyUpperBandwidth
Gets the upper bandwidth of this instance.
Top
Methods
  NameDescription
Public methodStatic memberAdd(Complex, ReadOnlyDoubleMatrix)
Determines the addition of a scalar to a matrix.
Public methodStatic memberCode exampleAdd(Double, ReadOnlyDoubleMatrix)
Determines the addition of a scalar to a matrix.
Public methodStatic memberCode exampleAdd(DoubleMatrix, ReadOnlyDoubleMatrix)
Determines the sum of two matrices.
Public methodStatic memberCode exampleAdd(ReadOnlyDoubleMatrix, DoubleMatrix)
Determines the sum of two matrices.
Public methodStatic memberCode exampleAdd(ReadOnlyDoubleMatrix, ReadOnlyDoubleMatrix)
Determines the sum of two matrices.
Public methodStatic memberCode exampleAdd(ReadOnlyDoubleMatrix, Double)
Determines the addition of a matrix to a scalar.
Public methodStatic memberAdd(ReadOnlyDoubleMatrix, Complex)
Determines the addition of a matrix to a scalar.
Public methodCode exampleApply
Evaluates the specified function at each entry of this instance, and returns a matrix whose entries are given by the corresponding function values.
Public methodAsColumnMajorDenseArray
Returns a column major ordered, dense representation of this instance.
Public methodContains
Public methodCopyTo
Public methodStatic memberDivide(Complex, ReadOnlyDoubleMatrix)
Determines the division of a scalar by a matrix.
Public methodStatic memberCode exampleDivide(Double, ReadOnlyDoubleMatrix)
Determines the division of a scalar by a matrix.
Public methodStatic memberCode exampleDivide(DoubleMatrix, ReadOnlyDoubleMatrix)
Determines the division of a matrix by another.
Public methodStatic memberCode exampleDivide(ReadOnlyDoubleMatrix, DoubleMatrix)
Determines the division of a matrix by another.
Public methodStatic memberCode exampleDivide(ReadOnlyDoubleMatrix, ReadOnlyDoubleMatrix)
Determines the division of a matrix by another.
Public methodStatic memberCode exampleDivide(ReadOnlyDoubleMatrix, Double)
Determines the division of a matrix by a scalar.
Public methodStatic memberDivide(ReadOnlyDoubleMatrix, Complex)
Determines the division of a matrix by a scalar.
Public methodStatic memberCode exampleElementWiseMultiply(DoubleMatrix, ReadOnlyDoubleMatrix)
Determines the element wise product of two matrices.
Public methodStatic memberCode exampleElementWiseMultiply(ReadOnlyDoubleMatrix, DoubleMatrix)
Determines the element wise product of two matrices.
Public methodStatic memberCode exampleElementWiseMultiply(ReadOnlyDoubleMatrix, ReadOnlyDoubleMatrix)
Determines the element wise product of two matrices.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodCode exampleFind
Searches for entries in this instance that equal the specified value, and returns their zero-based linear indexes.
Public methodCode exampleFindNonzero
Searches for nonzero entries in this instance, and returns their zero-based linear indexes.
Public methodCode exampleFindWhile
Searches for entries in this instance that matches the conditions defined by the specified predicate, and returns their zero-based linear indexes.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberMultiply(Complex, ReadOnlyDoubleMatrix)
Determines the multiplication of a scalar by a matrix.
Public methodStatic memberCode exampleMultiply(Double, ReadOnlyDoubleMatrix)
Determines the multiplication of a scalar by a matrix.
Public methodStatic memberCode exampleMultiply(DoubleMatrix, ReadOnlyDoubleMatrix)
Determines the product of two matrices.
Public methodStatic memberCode exampleMultiply(ReadOnlyDoubleMatrix, DoubleMatrix)
Determines the product of two matrices.
Public methodStatic memberCode exampleMultiply(ReadOnlyDoubleMatrix, ReadOnlyDoubleMatrix)
Determines the product of two matrices.
Public methodStatic memberCode exampleMultiply(ReadOnlyDoubleMatrix, Double)
Determines the multiplication of a matrix by a scalar.
Public methodStatic memberMultiply(ReadOnlyDoubleMatrix, Complex)
Determines the multiplication of a matrix by a scalar.
Public methodStatic memberCode exampleNegate
Determines the negation of a matrix.
Public methodStatic memberSubtract(Complex, ReadOnlyDoubleMatrix)
Determines the subtraction of a matrix from a scalar.
Public methodStatic memberCode exampleSubtract(Double, ReadOnlyDoubleMatrix)
Determines the subtraction of a matrix from a scalar.
Public methodStatic memberCode exampleSubtract(DoubleMatrix, ReadOnlyDoubleMatrix)
Determines the difference between two matrices.
Public methodStatic memberCode exampleSubtract(ReadOnlyDoubleMatrix, DoubleMatrix)
Determines the difference between two matrices.
Public methodStatic memberCode exampleSubtract(ReadOnlyDoubleMatrix, ReadOnlyDoubleMatrix)
Determines the difference between two matrices.
Public methodStatic memberCode exampleSubtract(ReadOnlyDoubleMatrix, Double)
Determines the subtraction of a scalar from a matrix.
Public methodStatic memberSubtract(ReadOnlyDoubleMatrix, Complex)
Determines the subtraction of a scalar from a matrix.
Public methodStatic memberToDouble
Converts from ReadOnlyDoubleMatrix to Double.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Public methodCode exampleTranspose
Returns the transpose of this instance.
Public methodTryGetColumnName
Tries to get the name of the specified column.
Public methodTryGetRowName
Tries to get the name of the specified row.
Public methodCode exampleVec
Returns the vectorization of this instance.
Public methodCode exampleVec(IndexCollection)
Returns a column vector obtained by stacking the specified elements of this instance.
Top
Operators
  NameDescription
Public operatorStatic memberAddition(Complex, ReadOnlyDoubleMatrix)
Determines the addition of a scalar to a matrix.
Public operatorStatic memberCode exampleAddition(Double, ReadOnlyDoubleMatrix)
Determines the addition of a scalar to a matrix.
Public operatorStatic memberCode exampleAddition(DoubleMatrix, ReadOnlyDoubleMatrix)
Determines the sum of two matrices.
Public operatorStatic memberCode exampleAddition(ReadOnlyDoubleMatrix, DoubleMatrix)
Determines the sum of two matrices.
Public operatorStatic memberCode exampleAddition(ReadOnlyDoubleMatrix, ReadOnlyDoubleMatrix)
Determines the sum of two matrices.
Public operatorStatic memberCode exampleAddition(ReadOnlyDoubleMatrix, Double)
Determines the addition of a matrix to a scalar.
Public operatorStatic memberAddition(ReadOnlyDoubleMatrix, Complex)
Determines the addition of a matrix to a scalar.
Public operatorStatic memberDivision(Complex, ReadOnlyDoubleMatrix)
Determines the division of a scalar by a matrix.
Public operatorStatic memberCode exampleDivision(Double, ReadOnlyDoubleMatrix)
Determines the division of a scalar by a matrix.
Public operatorStatic memberCode exampleDivision(DoubleMatrix, ReadOnlyDoubleMatrix)
Determines the division of a matrix by another.
Public operatorStatic memberCode exampleDivision(ReadOnlyDoubleMatrix, DoubleMatrix)
Determines the division of a matrix by another.
Public operatorStatic memberCode exampleDivision(ReadOnlyDoubleMatrix, ReadOnlyDoubleMatrix)
Determines the division of a matrix by another.
Public operatorStatic memberCode exampleDivision(ReadOnlyDoubleMatrix, Double)
Determines the division of a matrix by a scalar.
Public operatorStatic memberDivision(ReadOnlyDoubleMatrix, Complex)
Determines the division of a matrix by a scalar.
Public operatorStatic member(ReadOnlyDoubleMatrix to Double)
Performs an explicit conversion from ReadOnlyDoubleMatrix to Double.
Public operatorStatic memberMultiply(Complex, ReadOnlyDoubleMatrix)
Determines the multiplication of a scalar by a matrix.
Public operatorStatic memberCode exampleMultiply(Double, ReadOnlyDoubleMatrix)
Determines the multiplication of a scalar by a matrix.
Public operatorStatic memberCode exampleMultiply(DoubleMatrix, ReadOnlyDoubleMatrix)
Determines the product of two matrices.
Public operatorStatic memberCode exampleMultiply(ReadOnlyDoubleMatrix, DoubleMatrix)
Determines the product of two matrices.
Public operatorStatic memberCode exampleMultiply(ReadOnlyDoubleMatrix, ReadOnlyDoubleMatrix)
Determines the product of two matrices.
Public operatorStatic memberCode exampleMultiply(ReadOnlyDoubleMatrix, Double)
Determines the multiplication of a matrix by a scalar.
Public operatorStatic memberMultiply(ReadOnlyDoubleMatrix, Complex)
Determines the multiplication of a matrix by a scalar.
Public operatorStatic memberSubtraction(Complex, ReadOnlyDoubleMatrix)
Determines the subtraction of a matrix from a scalar.
Public operatorStatic memberCode exampleSubtraction(Double, ReadOnlyDoubleMatrix)
Determines the subtraction of a matrix from a scalar.
Public operatorStatic memberCode exampleSubtraction(DoubleMatrix, ReadOnlyDoubleMatrix)
Determines the difference between two matrices.
Public operatorStatic memberCode exampleSubtraction(ReadOnlyDoubleMatrix, DoubleMatrix)
Determines the difference between two matrices.
Public operatorStatic memberCode exampleSubtraction(ReadOnlyDoubleMatrix, ReadOnlyDoubleMatrix)
Determines the difference between two matrices.
Public operatorStatic memberCode exampleSubtraction(ReadOnlyDoubleMatrix, Double)
Determines the subtraction of a scalar from a matrix.
Public operatorStatic memberSubtraction(ReadOnlyDoubleMatrix, Complex)
Determines the subtraction of a scalar from a matrix.
Public operatorStatic memberCode exampleUnaryNegation
Determines the negation of a matrix.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodICollectionDoubleAdd
Explicit interface implementationPrivate methodICollectionDoubleClear
Explicit interface implementationPrivate methodICollectionDoubleRemove
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
Explicit interface implementationPrivate methodIListDoubleInsert
Explicit interface implementationPrivate propertyIListDoubleItem
Gets the element at the specified index. A NotSupportedException occurs if you try to set the item at the specified index.
Explicit interface implementationPrivate methodIListDoubleRemoveAt
Explicit interface implementationPrivate propertyITabularCollectionDouble, DoubleMatrixItemIndexCollection, IndexCollection
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Explicit interface implementationPrivate propertyITabularCollectionDouble, DoubleMatrixItemIndexCollection, Int32
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Explicit interface implementationPrivate propertyITabularCollectionDouble, DoubleMatrixItemIndexCollection, String
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Explicit interface implementationPrivate propertyITabularCollectionDouble, DoubleMatrixItemInt32, IndexCollection
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Explicit interface implementationPrivate propertyITabularCollectionDouble, DoubleMatrixItemInt32, Int32
Gets or sets the element of this instance corresponding to the specified row and column indexes.
Explicit interface implementationPrivate propertyITabularCollectionDouble, DoubleMatrixItemInt32, String
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Explicit interface implementationPrivate propertyITabularCollectionDouble, DoubleMatrixItemString, IndexCollection
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Explicit interface implementationPrivate propertyITabularCollectionDouble, DoubleMatrixItemString, Int32
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Explicit interface implementationPrivate propertyITabularCollectionDouble, DoubleMatrixItemString, String
Gets or sets the elements of this instance corresponding to the specified row and column indexes.
Top
See Also