GeneralMatrix Members

DotNetMatrix

An NDoc Documented Class Library

GeneralMatrix Members

GeneralMatrix overview

Public Static (Shared) Methods

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

Public Static (Shared) Operators

Addition Operator Addition of matrices
Multiplication Operator Multiplication of matrices
Subtraction Operator Subtraction of matrices

Public Instance Constructors

GeneralMatrix Overloaded. Initializes a new instance of the GeneralMatrix class.

Public Instance Properties

ArrayAccess the internal two-dimensional array.
ArrayCopyCopy the internal two-dimensional array.
ColumnDimensionGet column dimension.
ColumnPackedCopyMake a one-dimensional column packed copy of the internal array.
RowDimensionGet row dimension.
RowPackedCopyMake a one-dimensional row packed copy of the internal array.

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 Fields

AArray for internal storage of elements. @serial internal array storage.
mRow and column dimensions. @serial row dimension. @serial column dimension.
nRow and column dimensions. @serial row dimension. @serial column dimension.

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