.NET Matrix Library
CMatrix Class Members
See Also  Properties  Methods  Send Feedback


The following tables list the members exposed by CMatrix.

Public Constructors

 NameDescription
public ConstructorCMatrix ConstructorOverloaded. Initializes a new instance of the CMatrix class.  
Top

Public Properties

 NameDescription
public PropertyColsGets or sets the number of columns of the current matrix.  
public PropertyDataThis property is used while serializing and deserializing the CMatrix object and is not intended to be used directly from your code.  
public PropertyDataPtrGets the address of the unmanaged (native) memory block containing the matrix's elements.  
public PropertyIsSquareIndicates whether this instance represents a square matrix.  
public PropertyItemGets or sets a single matrix element.  
public PropertyRowsGets or sets the number of rows of the current matrix.  
Top

Public Methods

 NameDescription
public Methodstatic (Shared in Visual Basic)AddAdds two matrices.  
public MethodAdjointReturns the conjugate transpose (adjoint) of the current matrix.  
public MethodApplyFunctionOverloaded. Returns a new CMatrix object, whose elements are the result of applying the specified complex function to the elements of this matrix.  
public MethodClearSets the value of all the CMatrix elements to zero.  
public MethodCloneCreates a duplicate of this CMatrix object.  
public MethodColsDotProductReturns the dot product between two columns of the CMatrix object.  
public MethodColSumReturns the sum of the elements of the specified column.  
public MethodColVectorReturns a new CVector object using the specified matrix column.  
public Methodstatic (Shared in Visual Basic)ConcatenateOverloaded. Concatenates matrices.  
public MethodConjugateReturns the conjugate of the current matrix.  
public MethodDeleteColumnDeletes a column of the current matrix.  
public MethodDeleteRowDeletes a row of the current matrix.  
public MethodDeterminantReturns the value of the computed matrix determinant.  
public MethodDiagonalReturns a CVector object containing the main diagonal of the current matrix.  
public MethodDisposeReleases all the resources used by the CMatrix object.  
public Methodstatic (Shared in Visual Basic)DivideOverloaded. Performs matrix right division.  
public MethodEqualsReturns a value indicating whether this CMatrix object is equal to another matrix.  
public MethodFillRandomOverloaded. Fills CMatrix object with random values.  
public MethodGetHashCodeReturns a hash code value that represents this object.  
public MethodGetObjectDataImplements the ISerializable interface and returns the data needed to serialize the CMatrix class.  
public Methodstatic (Shared in Visual Basic)HadamardProductReturns the Hadamard product of two complex matrices  
public MethodHasINFsReturns a value indicating whether the current matrix contains any elements that  evaluate to negative or positive infinity.  
public MethodHasNaNsReturns a value indicating whether the current matrix contains any elements that  evaluate to NaN values.  
public MethodImagReturns a Matrix object containing the imaginary parts of the CMatrix elements.  
public MethodInsertColumnInserts a column in the current matrix at the specified position.  
public MethodInsertRowInserts a row in the current matrix at the specified position.  
public MethodInverseComputes the inverse of the complex matrix and returns a reference to it.  
public MethodIsEqualOverloaded. Returns a value indicating whether this instance of the CMatrix object is equal to another instance within a tolerance.  
public MethodIsFiniteReturns a value indicating whether the current matrix contains any elements that  evaluate either to NaN value or to a negative or positive infinity.  
public MethodIsHermitianOverloaded. Returns a value indicating whether this matrix is Hermitian.  
public MethodIsSymmetricOverloaded. Returns a value indicating whether this matrix is symmetric.  
public Methodstatic (Shared in Visual Basic)LDividePerforms matrix left division.  
public Methodstatic (Shared in Visual Basic)MultiplyOverloaded. Multiplies matrices.  
public Methodstatic (Shared in Visual Basic)NegateReturns the negation of the matrix.  
public MethodNormReturns the matrix norm.  
public MethodNormalizeCols

Normalizes the columns of the current matrix according to the specified mode.

 
public MethodNormalizeRows

Normalizes the rows of the current matrix according to the specified mode.

 
public Methodstatic (Shared in Visual Basic)PlusReturns a copy of the matrix.  
public MethodPseudoInverseOverloaded. Returns the Moore-Penrose inverse (pseudoinverse) of the matrix.  
public MethodRankReturns the matrix rank.  
public MethodRealReturns a Matrix object containing the real parts of the CMatrix elements.  
public MethodReorderColsReorders matrix columns according to the specified order.  
public MethodReorderRowsReorders matrix rows according to the specified order.  
public MethodResizeResizes matrix preserving its content.  
public MethodRowsDotProductReturns the dot product between two rows of the CMatrix object.  
public MethodRowSumReturns the sum of the elements of the specified row.  
public MethodRowVectorReturns a new CVector object using the specified matrix row.  
public MethodSetColumnOverloaded. Sets the elements of a matrix column to specified value(s).  
public MethodSetRowOverloaded. Sets the elements of a matrix row to specified value(s).  
public MethodSolveSolves a system of linear equations.  
public MethodSubMatrixReturns a subset of the current matrix.  
public Methodstatic (Shared in Visual Basic)SubtractSubtracts a matrix from another matrix.  
public MethodSwapColsSwaps two matrix columns.  
public MethodSwapRowsSwaps two matrix rows.  
public MethodTimesOverloaded. Multiplies the current matrix and returns the result.  
public MethodToArrayConverts current matrix to an array.  
public MethodToStringOverloaded. Converts this instance of CMatrix to a formatted string using the default values for format string, separator, left and right borders, and end of line characters.  
public MethodTraceReturns the sum of the elements of the main diagonal.  
public MethodTransposeReturns the transpose of the matrix.  
Top

Public Operators

public Operator Addition Adds two matrices.
public Operator Division Overloaded. Performs matrix right division.
public Operator Equality Tests whether two CMatrix objects represent equal matrices.
public Operator Implicit Type Conversion Overloaded. Defines conversions between CMatrix objects and arrays of complex structures.
public Operator Inequality Tests whether two CMatrix objects represent non equal matrices.
public Operator Multiplication Overloaded. Multiplies matrices.
public Operator Subtraction Subtracts two matrices.
public Operator Unary Negation Negates the matrix.
public Operator Unary Plus Returns a copy of the matrix.
Top

See Also

.NET Matrix Library