Click or drag to resize

ComplexMatrix Class

Represents a Complex Matrix.
Inheritance Hierarchy
SystemObject
  DotNumerics.LinearAlgebraComplexMatrix

Namespace: DotNumerics.LinearAlgebra
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class ComplexMatrix : IMatrix<Complex>
Request Example View Source

The ComplexMatrix type exposes the following members.

Constructors
 NameDescription
Public methodComplexMatrix(Int32) Initializes a new instance of the MatrixComplex class of the given size.
Public methodComplexMatrix(Int32, Int32) Initializes a new instance of the MatrixComplex class of the given size.
Top
Properties
 NameDescription
Public propertyColumnCount Returns the number of columns.
Public propertyIsSquare Gets a value indicating if the matrix is square.
Public propertyItem Returns the value of a element of the matrix.
Public propertyRowCount Returns the number of rows.
Top
Methods
 NameDescription
Public methodAdd In place addition A=A+B
Private methodCheckMatrixDimensions(ComplexMatrix)Check if size(this) == size(B)
Private methodCheckMatrixDimensions(Matrix)Check if size(this) == size(B)
Public methodCopyToArray 
Public methodCopyToJaggedArray Copy all elements of this matrix to a jagged array.
Public methodElemntsMult Element-by-element multiplication: aij = aij*bij
Public methodGetColumnVectors Gets the column vectors of this matrix.
Public methodGetImag Gets a matrix that contains the imaginary part of this matrix.
Public methodGetReal Gets a matrix that contains the real part of this matrix.
Public methodGetRowVectors Gets the row vectors of this matrix.
Public methodMatrixToString Returns the string of the matrix.
Public methodMatrixToString(String) Returns the string of the matrix.
Public methodMultiply In place scalar-matrix multiplication, A=s*A
Public methodMultiplyC In place scalar-matrix multiplication, A=c*A
Public methodSetImag Sets the imaginary part of the elements of this matrix equal to the elemnets of a real matrix.
Public methodSetReal Sets the real part of the elements of this matrix equal to the elemnets of a real matrix.
Public methodSubtract In place matrix subtraction, A=A-B.
Public methodUnaryMinus In place unary minus -A.
Top
Operators
 NameDescription
Public operatorStatic memberAddition(ComplexMatrix, ComplexMatrix) Matrix addition.
Public operatorStatic memberMultiply(BaseMatrix, ComplexMatrix) Matrix multiplication.
Public operatorStatic memberMultiply(Complex, ComplexMatrix)complex-Matrix multiplication.
Public operatorStatic memberMultiply(ComplexMatrix, ComplexMatrix) Matrix multiplication.
Public operatorStatic memberSubtraction(ComplexMatrix, ComplexMatrix) Matrix subtraction.
Top
Fields
 NameDescription
Protected field_ColumnCount El numero de columnas
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
Protected field_RowCount El numero de renglones
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumNames
(Defined by General)
Public Extension MethodIsValidDouble
(Defined by General)
Top
See Also