DiagonalMatrix Class |
Namespace: Meta.Numerics.Matrices
The DiagonalMatrix type exposes the following members.
Name | Description | |
---|---|---|
DiagonalMatrix(Double) |
Initializes a new diagonal matrix with the given diagonal entries.
| |
DiagonalMatrix(Int32) |
Initializes a new, empty diagonal matrix.
|
Name | Description | |
---|---|---|
ColumnCount |
Gets the number of matrix columns.
(Inherited from AnySquareMatrix.) | |
Dimension |
Gets or sets the dimension of the square matrix.
(Overrides AnySquareMatrixDimension.) | |
IsReadOnly |
Gets a flag indicating whether the matrix is read-only.
(Inherited from AnyMatrixT.) | |
Item |
Gets or sets the value of a matrix entry.
(Overrides AnyMatrixTItemInt32, Int32.) | |
RowCount |
Gets the number of matrix rows.
(Inherited from AnySquareMatrix.) |
Name | Description | |
---|---|---|
Column |
Gets a copy of the specified column.
(Inherited from AnyRectangularMatrix.) | |
Equals(Object) |
Determines whether the given object is an equal matrix.
(Inherited from AnyMatrixT.) | |
Equals(AnyMatrixT) |
Determines whether the given matrix equals the current matrix.
(Inherited from AnyMatrixT.) | |
Fill |
Sets all matrix entries according to a supplied fill function.
(Inherited from AnyMatrixT.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FrobeniusNorm |
Computes the Frobenius-norm of the matrix.
(Inherited from AnyRectangularMatrix.) | |
GetHashCode |
Not a valid operation.
(Inherited from AnyMatrixT.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InfinityNorm |
Computes the ∞-norm of the matrix.
(Inherited from AnyRectangularMatrix.) | |
MaxNorm |
Computes the max-norm of the matrix.
(Inherited from AnyRectangularMatrix.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MultiplySelfByTranspose |
Computes the product of the matrix and its transpose.
(Inherited from AnyRectangularMatrix.) | |
MultiplyTransposeBySelf |
Computes the product of the matrix's transpose and itself.
(Inherited from AnyRectangularMatrix.) | |
OneNorm |
Computes the 1-norm of the matrix.
(Inherited from AnyRectangularMatrix.) | |
Row |
Gets a copy of the specified row.
(Inherited from AnyRectangularMatrix.) | |
ToArray |
Copies the matrix into an array.
(Inherited from AnyMatrixT.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Trace |
Computes the trace of the square matrix.
(Inherited from AnySquareMatrix.) |
A diagonal matrix has non-zero entries only on the diagonal.