Click or drag to resize

BaseBandMatrix Class

Represents the base class for band matrices.
Inheritance Hierarchy

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

The BaseBandMatrix type exposes the following members.

Constructors
 NameDescription
Public methodBaseBandMatrix Initializes a new instance of the BandMatrix 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 propertyLowerBandWidth Number of bands below the main diagonal (lowerBandWidth)
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)
Top
Methods
 NameDescription
Public methodAdd Addition C=A+B
(Inherited from BaseMatrix)
Protected methodCheckMatrixDimensionsCheck if size(this) == size(B)
(Inherited from BaseMatrix)
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 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 member(BaseBandMatrix to Matrix) Implicit BaseBandMatrix to Matrix conversion.
Top
Fields
 NameDescription
Protected field_ColumnCount El numero de columnas
(Inherited from BaseMatrix)
Protected field_Data Los datos de la matriz, los datos se almacenan en un un array unidimensional, Los elementos se almacenan por columnas, esto para que sean compatible con los Arrays de Fortran
(Inherited from BaseMatrix)
Protected field_RowCount El numero de renglones
(Inherited from BaseMatrix)
Protected fieldMeLowerBandWidth Number of bands below the main diagonal (lowerBandWidth)
Protected fieldMeUpperBandWidth Number of bands above the main diagonal (upperBandWidth)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumNames
(Defined by General)
Public Extension MethodIsValidDouble
(Defined by General)
Top
See Also