Represents a sparse, square matrix.
Namespace: Meta.Numerics.MatricesAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public sealed class SparseSquareMatrix : AnySquareMatrix
Public NotInheritable Class SparseSquareMatrix _ Inherits AnySquareMatrix
public ref class SparseSquareMatrix sealed : public AnySquareMatrix
[<SealedAttribute>] type SparseSquareMatrix = class inherit AnySquareMatrix end
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| SparseSquareMatrix(Int32) |
Initializes a new sparse, square matrix.
| |
| __repr__()()()() |
Produces the representation of the matrix for the Python interactive console.
(Inherited from AnyRectangularMatrix.) | |
| Column(Int32) |
Gets a copy of the specified column.
(Overrides AnyRectangularMatrix..::..Column(Int32).) | |
| ColumnCount |
Gets the number of matrix columns.
(Inherited from AnySquareMatrix.) | |
| Copy()()()() |
Copies the matrix.
| |
| Dimension |
Gets or sets the dimension of the square matrix.
(Overrides AnySquareMatrix..::..Dimension.) | |
| Equals(Object) |
Determines whether the given object is an equal matrix.
(Inherited from AnyRectangularMatrix.) | |
| FillCount |
Gets the number of non-zero matrix entries.
| |
| FillFraction |
Gets the fraction of matrix entries that are non-zero.
| |
| Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object 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 AnyRectangularMatrix.) | |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| InfinityNorm()()()() |
Computes the ∞-norm of the matrix.
(Inherited from AnyRectangularMatrix.) | |
| Item[([( Int32, Int32])]) |
Gets or sets the value of a matrix entry.
(Overrides AnyMatrix<(Of <(<'T>)>)>..::..Item[([( Int32, Int32])]) .) | |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Multiply(Double, SparseSquareMatrix) |
Multiplies a sparse matrix by a real scalar.
| |
| Multiply(RowVector, SparseSquareMatrix) |
Multiplies a sparse matrix by a row vector.
| |
| Multiply(SparseSquareMatrix, ColumnVector) |
Multiplies a column vector by a sparse matrix.
| |
| OneNorm()()()() |
Computes the 1-norm of the matrix.
(Inherited from AnyRectangularMatrix.) | |
| Row(Int32) |
Gets a copy of the specified row.
(Overrides AnyRectangularMatrix..::..Row(Int32).) | |
| RowCount |
Gets the number of matrix rows.
(Inherited from AnySquareMatrix.) | |
| Solve(ColumnVector) |
Solves Ax = b using iterative methods.
| |
| ToString()()()() | (Inherited from Object.) | |
| Trace()()()() |
Computes the trace of the square matrix.
(Inherited from AnySquareMatrix.) |
Remarks
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.
Inheritance Hierarchy
System..::..Object
Meta.Numerics.Matrices..::..AnyMatrix<(Of <(<'Double>)>)>
Meta.Numerics.Matrices..::..AnyRectangularMatrix
Meta.Numerics.Matrices..::..AnySquareMatrix
Meta.Numerics.Matrices..::..SparseSquareMatrix
Meta.Numerics.Matrices..::..AnyMatrix<(Of <(<'Double>)>)>
Meta.Numerics.Matrices..::..AnyRectangularMatrix
Meta.Numerics.Matrices..::..AnySquareMatrix
Meta.Numerics.Matrices..::..SparseSquareMatrix