Represents a general, dense, square or rectangular ComplexMatrix.

Namespace: Extreme.Mathematics.LinearAlgebra.Complex
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Class ComplexGeneralMatrix _
	Inherits ComplexMatrix _
	Implements ISerializable
C#
public class ComplexGeneralMatrix : ComplexMatrix, ISerializable
C++
public ref class ComplexGeneralMatrix : public ComplexMatrix, ISerializable

Methods

IconTypeDescription
Add(ComplexMatrix)
Adds a ComplexMatrix to this ComplexGeneralMatrix.
Add(DoubleComplex, ComplexMatrix)
Adds a multiple of a ComplexMatrix to this ComplexGeneralMatrix.
static memberAdd(ComplexGeneralMatrix, ComplexGeneralMatrix)
Adds two ComplexGeneralMatrix objects and returns the result.
static memberAdd(ComplexGeneralMatrix, DoubleComplex, ComplexGeneralMatrix, ComplexGeneralMatrix)
Adds two ComplexGeneralMatrix objects and stores the result in a third ComplexGeneralMatrix.
Add(TransposeOperation, TransposeOperation, DoubleComplex, ComplexMatrix)
Adds a multiple of a ComplexMatrix to this ComplexMatrix and returns the result.
AddConjugateOuterProduct(ComplexVector)
Updates a matrix with the outer product of a ComplexVector and its conjugate.
AddConjugateOuterProduct(DoubleComplex, ComplexVector)
Updates a matrix with the scaled outer product of a ComplexVector and its conjugate.
AddOuterProduct(ComplexVector)
Updates a matrix with the outer product of a ComplexVector and itself.
AddOuterProduct(DoubleComplex, ComplexVector, ComplexVector)
Updates a matrix with the scaled outer product of two vectors.
AddOuterProduct(DoubleComplex, ComplexVector)
Updates a matrix with the scaled outer product of a ComplexVector and itself.
AddProduct(ComplexGeneralMatrix, ComplexGeneralMatrix)
Adds the product of two ComplexGeneralMatrix objects to this ComplexGeneralMatrix.
AddProduct(DoubleComplex, ComplexGeneralMatrix, ComplexGeneralMatrix)
Adds a multiple of the product of two ComplexGeneralMatrix object to this ComplexGeneralMatrix.
AddProductToVector(DoubleComplex, ComplexVector, TransposeOperation, DoubleComplex, ComplexGeneralVector)
Multiplies a ComplexVector by this ComplexMatrix and stores the result in a second ComplexVector.
Clone()
Constructs a deep copy of this ComplexMatrix.
CloneData()
Gives this instance its own copy of its elements.
CloneData(MatrixElementOrder)
Gives this instance its own copy of its elements.
Conjugate()
Returns the conjugate transpose of this instance.
ConjugateTranspose()
Returns the conjugate transpose of this instance.
CopyTo(ComplexMatrix)
Copies the components of this ComplexMatrix to another matrix.
Equals(Object)
Determines whether the specified Object is equal to the current ComplexMatrix.
EstimateConditionNumber()
Calculates an estimate for the condition number of this ComplexMatrix.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FrobeniusNorm()
Returns the Frobenius norm of this ComplexMatrix.
GetColumn(Int32, Int32, Int32, Int32)
Returns a column ComplexVector for this instance starting at the specified column and row and of the specified length.
GetColumn(Int32)
Returns a column ComplexVector for this instance that points at the specified column.
GetColumn(Int32, Int32, Int32)
Returns a column ComplexVector for this instance starting at the specified column and row and of the specified length.
GetColumn(Int32, Range)
Returns a column ComplexVector for this instance starting at the specified column and row and of the specified length.
GetColumnEnumerator()
Gets an IEnumerator than can be used to enumerate the columns of this ComplexGeneralMatrix.
GetComponents()
Gets the components of the ComplexVector.
GetComponents(MatrixElementOrder)
Gets the components of the ComplexVector.
GetDeterminant()
Calculates the determinant of this ComplexMatrix.
GetDiagonal(Int32)
Gets a ComplexVector view of the specified diagonal of this instance.
GetHashCode()
Returns the hash code for this instance.
static memberGetIdentity(Int32)
Returns an identity matrix of the specified dimension.
GetImaginaryPart()
Returns a real matrix containing the imaginary components of the matrix.
GetInverse()
Calculates the inverse of this ComplexMatrix.
GetObjectData(SerializationInfo, StreamingContext)
Populates a SerializationInfo with the data needed to serialize the target object.
GetRealPart()
Returns a real matrix containing the real components of the matrix.
GetRow(Int32, Int32, Int32, Int32)
Returns a row ComplexVector for this instance starting at the specified row and column and of the specified length.
GetRow(Int32)
Returns a row ComplexVector for this instance that points at the specified row.
GetRow(Int32, Int32, Int32)
Returns a row ComplexVector for this instance over the specified range.
GetRow(Int32, Range)
Returns a row ComplexVector for this instance starting at the specified row and column and of the specified length.
GetRowEnumerator()
Constructs an IEnumerator object that can be used to enumerate the rows of this ComplexGeneralMatrix.
GetSubmatrix(Int32, Int32, Int32, Int32, Int32, Int32, TransposeOperation)
Gets a ComplexGeneralMatrix that is a submatrix of this matrix.
GetSubmatrix(Range, Range, TransposeOperation)
Gets a ComplexMatrix that is a submatrix of this ComplexMatrix.
GetSubmatrix(Range, Range)
Gets a ComplexMatrix that is a submatrix of this ComplexMatrix.
GetSubmatrix(Int32, Int32, Int32, Int32)
Gets a ComplexMatrix that is a submatrix of this ComplexMatrix.
GetType()
Gets the Type of the current instance.
GetValue(Int32, Int32)
Gets the matrix component at the specified position.
InfinityNorm()
Returns the infinity norm of this ComplexMatrix.
IsComponentWritable(Int32, Int32)
Gets a value indicating whether the value of the component at the specified row and column can be changed.
IsSingular()
Gets a value indicating whether this matrix is singular.
MemberwiseClone()
Creates a shallow copy of the current Object.
Multiply(ComplexMatrix)
Multiplies this ComplexGeneralMatrix on the right by a ComplexMatrix.
Multiply(MatrixOperationSide, TransposeOperation, TransposeOperation, ComplexMatrix)
Multiplies this ComplexMatrix by another matrix and returns the result.
static memberMultiply(ComplexGeneralMatrix, ComplexGeneralMatrix)
Multiplies two ComplexMatrix objects.
static memberMultiply(ComplexGeneralMatrix, ComplexGeneralMatrix, ComplexGeneralMatrix)
Multiplies two ComplexGeneralMatrix objects and stores the result in a third ComplexGeneralMatrix.
MultiplyByConjugateTranspose()
Multiplies this ComplexGeneralMatrix by its Transpose().
OneNorm()
Returns the 1-norm of this ComplexMatrix.
PreMultiply(ComplexMatrix)
Multiplies this ComplexGeneralMatrix on the left by a ComplexMatrix.
Rank(Double)
Returns the numerical rank of a matrix using the specified tolerance.
SetValue(DoubleComplex, Int32, Int32)
Sets the matrix component at the specified position to the specified value.
ShallowCopy()
Makes a shallow copy of this ComplexMatrix.
Solve(ComplexGeneralVector, Boolean)
Solves the system of simultaneous linear equations for the specified right-hand side ComplexVector.
Solve(ComplexGeneralMatrix, Boolean)
Solves the system of simultaneous linear equations for the specified right-hand side ComplexGeneralMatrix and overwrites the right-hand side with the solution.
Solve(ComplexVector)
Solves the system of linear equations for the specified right-hand side ComplexVector.
Solve(ComplexMatrix)
Solves the system of linear equations for the specified right-hand side ComplexMatrix.
static memberSubtract(ComplexGeneralMatrix, ComplexGeneralMatrix)
Subtracts two ComplexGeneralMatrix objects.
static memberSubtract(ComplexGeneralMatrix, ComplexGeneralMatrix, ComplexGeneralMatrix)
Subtracts two ComplexGeneralMatrix objects and stores the result in a third ComplexGeneralMatrix.
SubtractProduct(ComplexGeneralMatrix, ComplexGeneralMatrix)
Subtracts the product of two ComplexGeneralMatrix object to this ComplexGeneralMatrix.
ToGeneralMatrix()
Makes a copy of this instance and returns it as a ComplexGeneralMatrix.
ToString()
Returns a String representation of this ComplexMatrix.
ToString(String)
Returns a String representation of this ComplexMatrix.
ToString(String, IFormatProvider)
Returns a String representation of this ComplexMatrix.
Trace()
Gets the sum of the diagonal elements of this ComplexMatrix.
Transpose()
Returns the transpose of this instance.

Constructors

IconTypeDescription
ComplexGeneralMatrixNew(Int32, Int32)
Constructs a new ComplexGeneralMatrix with the specified number of rows and columns
ComplexGeneralMatrixNew(Int32, Int32, MatrixElementOrder)
Constructs a new ComplexGeneralMatrix with the specified number of rows and columns
ComplexGeneralMatrixNew(DoubleComplex[,,,,,](,,,,,))
Constructs a new ComplexGeneralMatrix from a two-dimensional array.
ComplexGeneralMatrixNew(SerializationInfo, StreamingContext)
Constructs a new ComplexGeneralMatrix from serialization data.
ComplexGeneralMatrixNew(Int32, Int32, DoubleComplex[]())
Constructs a new ComplexGeneralMatrix of the specified dimensions using the specified data array.
ComplexGeneralMatrixNew(Int32, Int32, DoubleComplex[](), Boolean)
Constructs a new ComplexGeneralMatrix of the specified dimensions using the specified data array.
ComplexGeneralMatrixNew(Int32, Int32, DoubleComplex[](), MatrixElementOrder)
Constructs a new ComplexGeneralMatrix of the specified dimensions using the specified data array.
ComplexGeneralMatrixNew(Int32, Int32, DoubleComplex[](), MatrixElementOrder, Boolean)
Constructs a new ComplexGeneralMatrix of the specified dimensions using the specified data array.

Properties

IconTypeDescription
ColumnCount
Gets the number of columns in the ComplexMatrix.
Columns
Gets the ComplexColumnCollection for this instance.
ElementOrder
Gets a value indicating the order in which the matrix elements are stored.
Item(Int32, Int32)
Gets or sets the specified element in this ComplexMatrix.
Item(Int32, Range)
Gets or sets the components of a row of this ComplexMatrix.
Item(Range, Range)
Gets or sets the components of a submatrix of this ComplexMatrix.
Item(Range, Int32)
Gets or sets the components of a column of this ComplexMatrix.
RowCount
Gets the number of rows in the ComplexMatrix.
Rows
Gets the ComplexRowCollection for this instance.

Remarks

A matrix is a two-dimensional array of real numbers. Use the ComplexGeneralMatrix class to represent general, dense matrices. It is the most general implementation of the ComplexMatrix class. No components are assumed to have a specific value, and no relationship is assumed to exist between different components.

The components of a ComplexGeneralMatrix are stored in a one-dimensional array of DoubleComplex values. By default, components that are adjacent in a column of the matrix are adjacent in the storage array. The components are said to be stored in column major order. It is also possible to have elements stored in row major order.

The ComplexGeneralMatrix class implements algorithms using the general matrix BLAS and LAPACK routines. These routines assume matrix components are stored in column major order. However, any necessary conversions are performed transparantly. No additional work is needed. In some cases there might be a small performance penalty.

Because ComplexGeneralMatrix can represent any matrix, it is often used as the return type of matrix operations.

Inheritance Hierarchy

See Also