Click or drag to resize

SymmetricMatrix Class

Represents a symmetric matrix.
Inheritance Hierarchy
SystemObject
  DotNumerics.LinearAlgebraBaseMatrix
    DotNumerics.LinearAlgebraSymmetricMatrix

Namespace: DotNumerics.LinearAlgebra
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class SymmetricMatrix : BaseMatrix
Request Example View Source

The SymmetricMatrix type exposes the following members.

Constructors
 NameDescription
Public methodSymmetricMatrix Initializes a new instance of the SymmetricMatrix class of the given size.
Top
Properties
 NameDescription
Public propertyColumnCount Returns the number of columns.
(Inherited from BaseMatrix)
Public propertyIsSquare Gets a value indicating if the matrix is square.
(Inherited from BaseMatrix)
Public propertyItem Returns the value of a element of the matrix.
(Overrides BaseMatrixItemInt32, Int32)
Public propertyRowCount Returns the number of rows.
(Inherited from BaseMatrix)
Public propertyTraceReturns the trace of the matrix.
(Inherited from BaseMatrix)
Top
Methods
 NameDescription
Public methodAdd Addition C=A+B
(Inherited from BaseMatrix)
Public methodClone 
Public methodCopyToArray Copy all elements of this matrix to a rectangular 2D array.
(Inherited from BaseMatrix)
Public methodCopyToComplex
(Inherited from BaseMatrix)
Public methodCopyToJaggedArray Copy all elements of this matrix to a jagged array.
(Inherited from BaseMatrix)
Public methodDeterminant Calculates the determinant of the matrix.
(Inherited from BaseMatrix)
Public methodElementsAbs aij=Math.Abs(aij)
(Inherited from BaseMatrix)
Public methodElementsSum Sum of elements =SUMij(A[i,j])
(Inherited from BaseMatrix)
Public methodElemntsDiv Element-by-element division: aij = aij/bij
(Inherited from BaseMatrix)
Public methodElemntsMult Element-by-element multiplication: aij = aij*bij
(Inherited from BaseMatrix)
Public methodFrobeniusNormFrobenius norm
(Inherited from BaseMatrix)
Public methodGetColumnArray Gets a column array of this matrix at the selected position.
(Inherited from BaseMatrix)
Public methodGetColumnVector Gets a column vector of this matrix at the selected position.
(Inherited from BaseMatrix)
Public methodGetColumnVectors Gets the column vectors of this matrix.
(Inherited from BaseMatrix)
Public methodGetRowArray Gets a row array of this matrix at the selected position.
(Inherited from BaseMatrix)
Public methodGetRowVector Gets a row vector of this matrix at the selected position.
(Inherited from BaseMatrix)
Public methodGetRowVectors Gets the row vectors of this matrix.
(Inherited from BaseMatrix)
Public methodInverse Calculates the inverse of the matrix.
(Inherited from BaseMatrix)
Public methodMatrixToString Returns the equivalent string representation of the matrix.
(Inherited from BaseMatrix)
Public methodMatrixToString(String) Returns the equivalent string representation of the matrix.
(Inherited from BaseMatrix)
Public methodMultiply(BaseMatrix) Matrix-Matrix multiplication, C=A*B
(Inherited from BaseMatrix)
Public methodMultiply(Double) Scalar-matrix multiplication, C=s*A
(Inherited from BaseMatrix)
Public methodMultiplyInplace In place scalar-matrix multiplication, A=s*A
(Inherited from BaseMatrix)
Public methodNorm1 One Norm for the matrix.
(Inherited from BaseMatrix)
Public methodNormInf Infinity Norm for the matrix.
(Inherited from BaseMatrix)
Public methodStatic memberRandom(Int32) Generate a matrix with random elements
Public methodStatic memberRandom(Int32, Int32) Generate a matrix with random elements
Public methodSubtract Matrix subtraction, C=A-B
(Inherited from BaseMatrix)
Public methodTranspose Transposed matrix.
(Inherited from BaseMatrix)
Public methodUnaryMinusInplace In place unary minus -A
(Inherited from BaseMatrix)
Top
Operators
 NameDescription
Public operatorStatic memberAddition(SymmetricMatrix, SymmetricMatrix) Matrix addition.
Public operatorStatic member(SymmetricMatrix to Matrix) Implicit SymmetricMatrix to Matrix conversion.
Public operatorStatic memberMultiply(Double, SymmetricMatrix) Scalar-Matrix multiplication.
Public operatorStatic memberSubtraction(SymmetricMatrix, SymmetricMatrix) Matrix subtraction.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumNames
(Defined by General)
Public Extension MethodIsValidDouble
(Defined by General)
Top
See Also