AnySquareMatrix Class

Describes the form of all real, square matrices.

Definition

Namespace: Meta.Numerics.Matrices
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public abstract class AnySquareMatrix : AnyRectangularMatrix
Inheritance
Object    AnyMatrixDouble    AnyRectangularMatrix    AnySquareMatrix
Derived
More

Remarks

This is an abstract class that describes any real, square matrix. If you wish to create a concrete instance of a real, non-square matrix, use the SquareMatrix class. If, on the other hand, you wish to write a function that can operate on any real, square matrix, it's probably a good idea to accept a AnySquareMatrix, so that your function could operate on any concrete implementation.

Constructors

AnySquareMatrix Initializes a new instance of the AnySquareMatrix class.

Properties

ColumnCount Gets the number of matrix columns.
(Overrides AnyMatrixTColumnCount)
Dimension Gets or sets the dimension of the square matrix.
IsReadOnly Gets a flag indicating whether the matrix is read-only.
(Inherited from AnyMatrixT)
Item Gets or sets the value of a matrix entry.
(Inherited from AnyMatrixT)
RowCount Gets the number of matrix rows.
(Overrides AnyMatrixTRowCount)

Methods

Column Gets the specified column.
(Inherited from AnyRectangularMatrix)
Equals(AnyMatrixT) Determines whether the given matrix equals the current matrix.
(Inherited from AnyMatrixT)
Equals(Object) Determines whether the given object is an equal matrix.
(Inherited from AnyMatrixT)
Fill Sets all matrix entries according to a supplied fill function.
(Inherited from AnyMatrixT)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FrobeniusNorm Computes the Frobenius-norm of the matrix.
(Inherited from AnyRectangularMatrix)
GetHashCode Not a valid operation.
(Inherited from AnyMatrixT)
GetTypeGets the Type of the current instance.
(Inherited from Object)
InfinityNorm Computes the ∞-norm of the matrix.
(Inherited from AnyRectangularMatrix)
MaxNorm Computes the max-norm of the matrix.
(Inherited from AnyRectangularMatrix)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
MultiplySelfByTranspose Computes the product of the matrix and its transpose.
(Inherited from AnyRectangularMatrix)
MultiplyTransposeBySelf Computes the product of the matrix's transpose and itself.
(Inherited from AnyRectangularMatrix)
OneNorm Computes the 1-norm of the matrix.
(Inherited from AnyRectangularMatrix)
Row Gets a copy of the specified row.
(Inherited from AnyRectangularMatrix)
ToArray Copies the matrix into an array.
(Inherited from AnyMatrixT)
ToStringReturns a string that represents the current object.
(Inherited from Object)
Trace Computes the trace of the square matrix.

Operators

Addition(AnySquareMatrix, AnySquareMatrix) Adds any two real, square matrices.
Multiply(AnySquareMatrix, AnySquareMatrix) Multiplies any two real, square matrices.
Subtraction(AnySquareMatrix, AnySquareMatrix) Subtracts any two real, square matrices.

See Also