DoubleMatrix Methods

Methods

Add(Complex, DoubleMatrix) Determines the addition of a scalar to a matrix.
Add(Double, DoubleMatrix) Determines the addition of a scalar to a matrix.
Add(DoubleMatrix, DoubleMatrix) Determines the sum of two matrices.
Add(DoubleMatrix, Double) Determines the addition of a matrix to a scalar.
Add(DoubleMatrix, Complex) Determines the addition of a matrix to a scalar.
Apply Evaluates the specified function at each entry of this instance, and returns a matrix whose entries are given by the corresponding function values.
AsColumnMajorDenseArray Returns a column major ordered, dense representation of this instance.
AsReadOnly Returns a read-only representation of the DoubleMatrix.
AsRowCollection Returns the collection of rows in the DoubleMatrix.
AsRowCollection(IndexCollection) Returns the collection of the rows in the DoubleMatrix corresponding to the specified indexes.
ContainsDetermines whether the ICollectionT contains a specific value.
CopyToCopies the elements of the ICollectionT to an Array, starting at a particular Array index.
Dense(Double) Creates a dense DoubleMatrix instance having the same size and data of the specified two-dimensional array.
Dense(Int32, Int32) Creates a dense DoubleMatrix instance having the specified size, and assigns zero to each matrix entry.
Dense(Int32, Int32, IEnumerableDouble) Creates a dense DoubleMatrix instance having the specified size, and assigns data to entries assuming ColMajor ordering.
Dense(Int32, Int32, Double) Creates a dense DoubleMatrix instance having the specified size, and assigns the same value to each matrix entry.
Dense(Int32, Int32, Double) Creates a dense DoubleMatrix instance having the specified size, and assigns data to entries assuming ColMajor ordering.
Dense(Int32, Int32, IEnumerableDouble, StorageOrder) Creates a dense DoubleMatrix instance having the specified size, and assigns data to entries applying the given storage order.
Dense(Int32, Int32, Double, StorageOrder) Creates a dense DoubleMatrix instance having the specified size, and assigns data to entries applying the given storage order.
Dense(Int32, Int32, Double, Boolean) Creates a dense DoubleMatrix instance having the specified size, and assigns data to entries, possibly preventing copying operations before creation.
Diagonal(DoubleMatrix) Creates a square DoubleMatrix instance having the specified data on its main diagonal and zero otherwise.
Diagonal(ReadOnlyDoubleMatrix) Creates a square DoubleMatrix instance having the specified data on its main diagonal and zero otherwise.
Dispose Disposes this instance.
Dispose(Boolean) Releases unmanaged and - optionally - managed resources.
Divide(Complex, DoubleMatrix) Determines the division of a scalar by a matrix.
Divide(Double, DoubleMatrix) Determines the division of a scalar by a matrix.
Divide(DoubleMatrix, DoubleMatrix) Determines the division of a matrix by another.
Divide(DoubleMatrix, Double) Determines the division of a matrix by a scalar.
Divide(DoubleMatrix, Complex) Determines the division of a matrix by a scalar.
ElementWiseMultiply Determines the element wise product of two matrices.
Encode(String, Char, IndexCollection, Boolean) Encodes numerical data from the specified file.
Encode(TextReader, Char, IndexCollection, Boolean) Encodes numerical data from the stream underlying the specified text reader.
Encode(String, Char, IndexCollection, Boolean, DictionaryInt32, Codifier, IFormatProvider) Encodes categorical or numerical data from the given file into a matrix, applying specific categorical data codifiers.
Encode(TextReader, Char, IndexCollection, Boolean, DictionaryInt32, Codifier, IFormatProvider) Encodes categorical or numerical data from the stream underlying the specified text reader into a matrix, applying specific categorical data codifiers.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Finalizes an instance of the DoubleMatrix class.
(Overrides ObjectFinalize)
Find Searches for entries in this instance that equal the specified value, and returns their zero-based linear indexes.
FindNonzero Searches for nonzero entries in this instance, and returns their zero-based linear indexes.
FindWhile Searches for entries in this instance that matches the conditions defined by the specified predicate, and returns their zero-based linear indexes.
FromDouble Converts from Double to DoubleMatrix.
FromIndexPartition Converts from IndexPartitionT of Double to DoubleMatrix.
FromReadOnlyDoubleMatrix Converts from ReadOnlyDoubleMatrix to DoubleMatrix.
GetEnumerator Returns an enumerator that iterates through the collection.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetStorage Gets the elements currently stored in this instance.
GetTypeGets the Type of the current instance.
(Inherited from Object)
Identity Creates a DoubleMatrix instance representing the identity matrix having the specified dimension.
IndexOfDetermines the index of a specific item in the IListT.
InPlaceApply Evaluates the specified function at each entry of this instance, and substitutes each entry with its corresponding function value.
InPlaceTranspose Transposes this instance.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Multiply(Complex, DoubleMatrix) Determines the multiplication of a scalar by a matrix.
Multiply(Double, DoubleMatrix) Determines the multiplication of a scalar by a matrix.
Multiply(DoubleMatrix, DoubleMatrix) Determines the product of two matrices.
Multiply(DoubleMatrix, Double) Determines the multiplication of a matrix by a scalar.
Multiply(DoubleMatrix, Complex) Determines the multiplication of a matrix by a scalar.
Negate Determines the negation of a matrix.
RemoveAllColumnNames Removes all column names.
RemoveAllRowNames Removes all row names.
RemoveColumnName Removes the name of the specified column.
RemoveRowName Removes the name of the specified row.
SetColumnName Sets the name of the specified column.
SetRowName Sets the name of the specified row.
Sparse Creates a sparse DoubleMatrix instance having the specified size and initial capacity to store entries different from zero.
Subtract(Complex, DoubleMatrix) Determines the subtraction of a matrix from a scalar.
Subtract(Double, DoubleMatrix) Determines the subtraction of a matrix from a scalar.
Subtract(DoubleMatrix, DoubleMatrix) Determines the difference between two matrices.
Subtract(DoubleMatrix, Double) Determines the subtraction of a scalar from a matrix.
Subtract(DoubleMatrix, Complex) Determines the subtraction of a scalar from a matrix.
ToDouble Converts from DoubleMatrix to Double.
ToString Returns a String that represents this instance.
(Overrides ObjectToString)
Transpose Returns the transpose of this instance.
TryGetColumnName Tries to get the name of the specified column.
TryGetRowName Tries to get the name of the specified row.
Vec Returns the vectorization of this instance.
Vec(IndexCollection) Returns a column vector obtained by stacking the specified elements of this instance.

Explicit Interface Implementations

ICollectionDoubleAdd Adds an item to the ICollectionT. This implementation always throws a NotSupportedException.
ICollectionDoubleClear Removes all items from the ICollectionT. This implementation always throws a NotSupportedException.
ICollectionDoubleRemove Removes the first occurrence of a specific object from the ICollectionT. This implementation always throws a NotSupportedException.
IEnumerableGetEnumeratorReturns an enumerator that iterates through a collection.
IListDoubleInsert Inserts an item to the IListT at the specified index. This implementation always throws a NotSupportedException.
IListDoubleRemoveAt Removes the IListT item at the specified index. This implementation always throws a NotSupportedException.

See Also