Click or drag to resize

DoubleMatrix Methods

The DoubleMatrix type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd(Complex, DoubleMatrix)
Determines the addition of a scalar to a matrix.
Public methodStatic memberCode exampleAdd(Double, DoubleMatrix)
Determines the addition of a scalar to a matrix.
Public methodStatic memberCode exampleAdd(DoubleMatrix, DoubleMatrix)
Determines the sum of two matrices.
Public methodStatic memberCode exampleAdd(DoubleMatrix, Double)
Determines the addition of a matrix to a scalar.
Public methodStatic memberAdd(DoubleMatrix, 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 methodAsReadOnly
Returns a read-only representation of the DoubleMatrix.
Public methodCode exampleAsRowCollection
Returns the collection of rows in the DoubleMatrix.
Public methodCode exampleAsRowCollection(IndexCollection)
Returns the collection of the rows in the DoubleMatrix corresponding to the specified indexes.
Public methodContains
Public methodCopyTo
Public methodStatic memberCode exampleDense(Double)
Creates a dense DoubleMatrix instance having the same size and data of the specified two-dimensional array.
Public methodStatic memberCode exampleDense(Int32, Int32)
Creates a dense DoubleMatrix instance having the specified size, and assigns zero to each matrix entry.
Public methodStatic memberCode exampleDense(Int32, Int32, IEnumerableDouble)
Creates a dense DoubleMatrix instance having the specified size, and assigns data to entries assuming ColMajor ordering.
Public methodStatic memberCode exampleDense(Int32, Int32, Double)
Creates a dense DoubleMatrix instance having the specified size, and assigns the same value to each matrix entry.
Public methodStatic memberCode exampleDense(Int32, Int32, Double)
Creates a dense DoubleMatrix instance having the specified size, and assigns data to entries assuming ColMajor ordering.
Public methodStatic memberCode exampleDense(Int32, Int32, IEnumerableDouble, StorageOrder)
Creates a dense DoubleMatrix instance having the specified size, and assigns data to entries applying the given storage order.
Public methodStatic memberCode exampleDense(Int32, Int32, Double, StorageOrder)
Creates a dense DoubleMatrix instance having the specified size, and assigns data to entries applying the given storage order.
Public methodStatic memberDense(Int32, Int32, Double, Boolean)
Creates a dense DoubleMatrix instance having the specified size, and assigns data to entries, possibly preventing copying operations before creation.
Public methodStatic memberCode exampleDiagonal(DoubleMatrix)
Creates a square DoubleMatrix instance having the specified data on its main diagonal and zero otherwise.
Public methodStatic memberCode exampleDiagonal(ReadOnlyDoubleMatrix)
Creates a square DoubleMatrix instance having the specified data on its main diagonal and zero otherwise.
Public methodDispose
Disposes this instance.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodStatic memberDivide(Complex, DoubleMatrix)
Determines the division of a scalar by a matrix.
Public methodStatic memberCode exampleDivide(Double, DoubleMatrix)
Determines the division of a scalar by a matrix.
Public methodStatic memberCode exampleDivide(DoubleMatrix, DoubleMatrix)
Determines the division of a matrix by another.
Public methodStatic memberCode exampleDivide(DoubleMatrix, Double)
Determines the division of a matrix by a scalar.
Public methodStatic memberDivide(DoubleMatrix, Complex)
Determines the division of a matrix by a scalar.
Public methodStatic memberCode exampleElementWiseMultiply
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
Finalizes an instance of the DoubleMatrix class.
(Overrides ObjectFinalize.)
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 methodStatic memberFromDouble
Converts from Double to DoubleMatrix.
Public methodStatic memberCode exampleFromIndexPartition
Public methodStatic memberFromReadOnlyDoubleMatrix
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetStorage
Gets the elements currently stored in this instance.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIdentity
Creates a DoubleMatrix instance representing the identity matrix having the specified dimension.
Public methodIndexOf
Public methodCode exampleInPlaceApply
Evaluates the specified function at each entry of this instance, and substitutes each entry with its corresponding function value.
Public methodCode exampleInPlaceTranspose
Transposes this instance.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberMultiply(Complex, DoubleMatrix)
Determines the multiplication of a scalar by a matrix.
Public methodStatic memberCode exampleMultiply(Double, DoubleMatrix)
Determines the multiplication of a scalar by a matrix.
Public methodStatic memberCode exampleMultiply(DoubleMatrix, DoubleMatrix)
Determines the product of two matrices.
Public methodStatic memberCode exampleMultiply(DoubleMatrix, Double)
Determines the multiplication of a matrix by a scalar.
Public methodStatic memberMultiply(DoubleMatrix, Complex)
Determines the multiplication of a matrix by a scalar.
Public methodStatic memberCode exampleNegate
Determines the negation of a matrix.
Public methodRemoveAllColumnNames
Removes all column names.
Public methodRemoveAllRowNames
Removes all row names.
Public methodRemoveColumnName
Removes the name of the specified column.
Public methodRemoveRowName
Removes the name of the specified row.
Public methodSetColumnName
Sets the name of the specified column.
Public methodSetRowName
Sets the name of the specified row.
Public methodStatic memberCode exampleSparse
Creates a sparse DoubleMatrix instance having the specified size and initial capacity to store entries different from zero.
Public methodStatic memberSubtract(Complex, DoubleMatrix)
Determines the subtraction of a matrix from a scalar.
Public methodStatic memberCode exampleSubtract(Double, DoubleMatrix)
Determines the subtraction of a matrix from a scalar.
Public methodStatic memberCode exampleSubtract(DoubleMatrix, DoubleMatrix)
Determines the difference between two matrices.
Public methodStatic memberCode exampleSubtract(DoubleMatrix, Double)
Determines the subtraction of a scalar from a matrix.
Public methodStatic memberSubtract(DoubleMatrix, Complex)
Determines the subtraction of a scalar from a matrix.
Public methodStatic memberToDouble
Converts from DoubleMatrix 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
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 methodIListDoubleRemoveAt
Top
See Also