Click or drag to resize

SymmetricBandMatrix Class

Represents a symmetric band matrix.
Inheritance Hierarchy
SystemObject
  DotNumerics.LinearAlgebraBaseMatrix
    DotNumerics.LinearAlgebraBaseBandMatrix
      DotNumerics.LinearAlgebraSymmetricBandMatrix

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 SymmetricBandMatrix : BaseBandMatrix
Request Example View Source

The SymmetricBandMatrix type exposes the following members.

Constructors
 NameDescription
Public methodSymmetricBandMatrix Initializes a new instance of the SymmetricBandMatrix 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 BaseBandMatrixItemInt32, Int32)
Public propertyLowerBandWidth Number of bands below the main diagonal (lowerBandWidth)
(Inherited from BaseBandMatrix)
Public propertyRowCount Returns the number of rows.
(Inherited from BaseMatrix)
Public propertyTraceReturns the trace of the matrix.
(Inherited from BaseMatrix)
Public propertyUpperBandWidth Number of bands above the main diagonal (upperBandWidth)
(Inherited from BaseBandMatrix)
Top
Methods
 NameDescription
Public methodAdd Addition C=A+B
(Inherited from BaseMatrix)
Public methodClone Creates a copy of the matrix.
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 memberRandomGenerate a BandMatrix 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
Extension Methods
 NameDescription
Public Extension MethodGetEnumNames
(Defined by General)
Public Extension MethodIsValidDouble
(Defined by General)
Top
See Also