The DoubleMatrix type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DoubleMatrix | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Add | Overloaded. | |
| Apply | Overloaded. | |
| ApplyColumns |
Returns a new vector containing an element for each column in this matrix.
The elements are the results of applying a function that takes a vector and
returns a single-precision number.
| |
| Clone |
Creates a deep copy of this matrix.
| |
| Col |
Returns a column of this matrix as a vector. The returned vector
and the matrix share the data.
| |
| Decrement |
Decrements each element of the given matrix.
| |
| DeepenThisCopy |
Guarantees that there is only one reference to the underlying
data and that this data is in contiguous storage.
| |
| Diagonal | Overloaded. | |
| Divide | Overloaded. | |
| Equals |
Tests for equality of this matrix and another matrix.
Two matrices are equal if they have the same dimensions and all
values are equal.
(Overrides Object..::.Equals(Object).) | |
| FrobeniusNorm |
Computes the Frobenius norm for this matrix.
| |
| GetDoubleEnumerator |
Creates an IDoubleEnumerator out of the data elements in this vector.
| |
| GetEnumerator |
Creates an IEnumerator out of the data elements in this matrix.
| |
| GetHashCode |
Returns an integer hash code for this matrix.
(Overrides Object..::.GetHashCode()()().) | |
| GetSchema |
The method is reserved and should not be used.
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Identity |
Returns an identity matrix of the specified size.
| |
| Increment | Overloaded. | |
| InfinityNorm |
Computes the infinity-norm of this matrix.
| |
| Multiply | Overloaded. | |
| NaNEquals |
Tests for equality of this matrix and another matrix.
Two matrices are equal if they have the same dimensions and all
values are equal.
| |
| Negate |
Negation operator.
| |
| OneNorm |
Computes the 1-norm of this matrix.
| |
| Parse | Overloaded. | |
| ReadXml |
Generates a DoubleMatrix instance form its XML representation.
| |
| Resize |
Changes the dimensions of this matrix to those specified, adding
zeros or truncating as necessary.
| |
| ResizeAndClear |
Changes the dimensions of this matrix to those specified. Matrix
values are not preserved during this operation and are reset to
zero.
| |
| Row |
Returns a row of this matrix as a vector. The returned vector
and the matrix share the data.
| |
| Scale |
Scales each element in the matrix by the specified value.
| |
| Set | Overloaded. | |
| ShallowCopy |
Creates a shallow copy of this matrix.
| |
| Slice |
Returns a vector that views a slice of this matrix. The slice begins at
element i,j and extends for n elements. The increment
between successive elements in the vector is rowStride rows and
colStride columns.
| |
| Subtract | Overloaded. | |
| ToArray |
Copies data into an array and returns it.
| |
| ToCommaSeparated | Overloaded. | |
| ToDataTable | Overloaded. | |
| ToString | Overloaded. | |
| ToTabDelimited | Overloaded. | |
| Transform | Overloaded. | |
| Transpose |
Returns the transpose of this matrix.
| |
| Write | Overloaded. | |
| WriteAsCSV | Overloaded. | |
| WriteXml |
Converts an object into its XML representation.
|
Operators
| Name | Description | |
|---|---|---|
| Addition | Overloaded. | |
| Decrement |
Decrements each element of the given matrix.
| |
| Division | Overloaded. | |
| Equality |
Tests for equality of two matrices. Two matrices are equal if they
have the same dimensions and all values are equal.
| |
| Implicit |
Implicitly converts a FloatMatrix instance into a DoubleMatrix instance.
| |
| Increment |
Increments each element of the given matrix.
| |
| Inequality |
Tests for inequality of two matrices. Two matrices are not equal if they
have different dimensions or their values are not all equal.
| |
| Multiply | Overloaded. | |
| Subtraction | Overloaded. | |
| UnaryNegation |
Negation operator.
| |
| UnaryPlus |
Unary + operator. Just returns the input matrix.
|
Fields
| Name | Description | |
|---|---|---|
| XmlColumnsAttribute |
XML columns attribute name.
| |
| XmlDataElement |
XML data element name.
| |
| XmlDatumElement |
XML datum element name.
| |
| XmlRowsAttribute |
XML rows attribute name.
|
Properties
| Name | Description | |
|---|---|---|
| Cols |
Gets number of columns in this matrix.
| |
| ColStride |
Gets the increment between successive elements in a column.
| |
| DataBlock |
Gets a reference to the underly data that this matrix is viewing.
| |
| IsCompactStride |
Returns true if the matrix data is in column major contiguous
storage.
| |
| Item | Overloaded. | |
| Rows |
Gets the number of rows in this matrix.
| |
| RowStride |
Gets the increment between successive elements in a row.
|