GeneralMatrix Methods

DotNetMatrix

An NDoc Documented Class Library

GeneralMatrix Methods

The methods of the GeneralMatrix class are listed below. For a complete list of GeneralMatrix class members, see the GeneralMatrix Members topic.

Public Static (Shared) Methods

CreateConstruct a matrix from a copy of a 2-D array.
IdentityGenerate identity matrix
RandomGenerate matrix with random elements

Public Instance Methods

AddC = A + B
AddEqualsA = A + B
ArrayLeftDivideElement-by-element left division, C = A.\B
ArrayLeftDivideEqualsElement-by-element left division in place, A = A.\B
ArrayMultiplyElement-by-element multiplication, C = A.*B
ArrayMultiplyEqualsElement-by-element multiplication in place, A = A.*B
ArrayRightDivideElement-by-element right division, C = A./B
ArrayRightDivideEqualsElement-by-element right division in place, A = A./B
cholCholesky Decomposition
CloneClone the GeneralMatrix object.
ConditionMatrix condition (2 norm)
CopyMake a deep copy of a matrix
DeterminantGeneralMatrix determinant
DisposeOverloaded. Do not make this method virtual. A derived class should not be able to override this method.
EigenEigenvalue Decomposition
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetElementGet a single element.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetMatrixOverloaded. Get a submatrix.
GetType (inherited from Object)Gets the Type of the current instance.
InverseMatrix inverse or pseudoinverse
LUDLU Decomposition
MultiplyOverloaded. Linear algebraic matrix multiplication, A * B
MultiplyEqualsMultiply a matrix by a scalar in place, A = s*A
Norm1One norm
Norm2Two norm
NormFFrobenius norm
NormInfInfinity norm
QRDQR Decomposition
RankGeneralMatrix rank
SetElementSet a single element.
SetMatrixOverloaded. Set a submatrix.
SolveSolve A*X = B
SolveTransposeSolve X*A = B, which is also A'*X' = B'
SubtractC = A - B
SubtractEqualsA = A - B
SVDSingular Value Decomposition
ToString (inherited from Object)Returns a String that represents the current Object.
TraceMatrix trace.
TransposeMatrix transpose.
UnaryMinusUnary minus

Private Instance Methods

CheckMatrixDimensionsCheck if size(A) == size(B) *
DisposeOverloaded. Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.

Explicit Interface Implementations

ISerializable.GetObjectData A method called when serializing this class

See Also

GeneralMatrix Class | DotNetMatrix Namespace