Click or drag to resize
SparseSquareMatrix Class
Represents a sparse, square matrix.
Inheritance Hierarchy

Namespace:  Meta.Numerics.Matrices
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: (
public sealed class SparseSquareMatrix : AnySquareMatrix

The SparseSquareMatrix type exposes the following members.

Public methodSparseSquareMatrix
Initializes a new sparse, square matrix.
Public methodColumn
Gets a copy of the specified column.
(Overrides AnyRectangularMatrixColumn(Int32).)
Public methodCopy
Copies the matrix.
Public methodEquals(Object)
Determines whether the given object is an equal matrix.
(Inherited from AnyRectangularMatrix.)
Public methodEquals(AnyRectangularMatrix)
Determines whether the given matrix equals the current matrix.
(Inherited from AnyRectangularMatrix.)
Public methodFill
Sets all matrix entries according to a supplied fill function.
(Inherited from AnyMatrixT.)
Public methodFrobeniusNorm
Computes the Frobenius-norm of the matrix.
(Inherited from AnyRectangularMatrix.)
Public methodGetHashCode
Not a valid operation.
(Inherited from AnyRectangularMatrix.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInfinityNorm
Computes the ∞-norm of the matrix.
(Inherited from AnyRectangularMatrix.)
Public methodMultiplySelfByTranspose
Computes the product of the matrix and its transpose.
(Inherited from AnyRectangularMatrix.)
Public methodMultiplyTransposeBySelf
Computes the product of the matrix's transpose and itself.
(Inherited from AnyRectangularMatrix.)
Public methodOneNorm
Computes the 1-norm of the matrix.
(Inherited from AnyRectangularMatrix.)
Public methodRow
Gets a copy of the specified row.
(Overrides AnyRectangularMatrixRow(Int32).)
Public methodSolve
Solves Ax = b using iterative methods.
Public methodToArray
Copies the matrix into an array.
(Inherited from AnyMatrixT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrace
Computes the trace of the square matrix.
(Inherited from AnySquareMatrix.)
Public operatorStatic memberMultiply(Double, SparseSquareMatrix)
Multiplies a sparse matrix by a real scalar.
Public operatorStatic memberMultiply(RowVector, SparseSquareMatrix)
Multiplies a sparse matrix by a row vector.
Public operatorStatic memberMultiply(SparseSquareMatrix, ColumnVector)
Multiplies a column vector by a sparse matrix.

Many applications give rise to very large matrices which consist mostly of zero elements.

When working with sparse matrices, it is important to keep in mind that many operations do not respect sparsity. For example, the product of two sparse matrices is not necessarily sparse, nor is the inverse of a sparse matrix.

See Also