Click or drag to resize

DiagonalMatrix Class

Represents a diagonal matrix.
Inheritance Hierarchy
SystemObject
  Meta.Numerics.MatricesAnyMatrixDouble
    Meta.Numerics.MatricesAnyRectangularMatrix
      Meta.Numerics.MatricesAnySquareMatrix
        Meta.Numerics.MatricesDiagonalMatrix

Namespace:  Meta.Numerics.Matrices
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.0.5.0 (4.0.5.0)
Syntax
public class DiagonalMatrix : AnySquareMatrix

The DiagonalMatrix type exposes the following members.

Constructors
  NameDescription
Public methodDiagonalMatrix(Double)
Initializes a new diagonal matrix with the given diagonal entries.
Public methodDiagonalMatrix(Int32)
Initializes a new, empty diagonal matrix.
Top
Properties
Methods
  NameDescription
Public methodColumn
Gets a copy of the specified column.
(Inherited from AnyRectangularMatrix.)
Public methodEquals(Object)
Determines whether the given object is an equal matrix.
(Inherited from AnyMatrixT.)
Public methodEquals(AnyMatrixT)
Determines whether the given matrix equals the current matrix.
(Inherited from AnyMatrixT.)
Public methodFill
Sets all matrix entries according to a supplied fill function.
(Inherited from AnyMatrixT.)
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 methodFrobeniusNorm
Computes the Frobenius-norm of the matrix.
(Inherited from AnyRectangularMatrix.)
Public methodGetHashCode
Not a valid operation.
(Inherited from AnyMatrixT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInfinityNorm
Computes the ∞-norm of the matrix.
(Inherited from AnyRectangularMatrix.)
Public methodMaxNorm
Computes the max-norm of the matrix.
(Inherited from AnyRectangularMatrix.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMultiplySelfByTranspose
Computes the product of the matrix and its transpose.
(Inherited from AnyRectangularMatrix.)
Public methodMultiplyTransposeBySelf
Computes the product of the matrix's transpose and itself.
(Inherited from AnyRectangularMatrix.)
Public methodOneNorm
Computes the 1-norm of the matrix.
(Inherited from AnyRectangularMatrix.)
Public methodRow
Gets a copy of the specified row.
(Inherited from AnyRectangularMatrix.)
Public methodToArray
Copies the matrix into an array.
(Inherited from AnyMatrixT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrace
Computes the trace of the square matrix.
(Inherited from AnySquareMatrix.)
Top
Remarks

A diagonal matrix has non-zero entries only on the diagonal.

See Also