Gets a collection of the nonzero components of the matrix.
Namespace: Extreme.Mathematics.LinearAlgebra.Sparse
Assembly: Extreme.Numerics (in Extreme.Numerics)
Version: 2.1.7017.0
Syntax
| Visual Basic (Declaration) |
|---|
Public Overrides ReadOnly Property NonzeroComponents As IEnumerable(Of RowColumnValueTriplet) |
| C# |
|---|
public override IEnumerable<RowColumnValueTriplet> NonzeroComponents { get; } |
| Visual C++ |
|---|
public: virtual property IEnumerable<RowColumnValueTriplet>^ NonzeroComponents { IEnumerable<RowColumnValueTriplet>^ get () override; } |
Remarks
Use this property to enumerate over the nonzero components of a sparse matrix.
The object that is returned implements IEnumerable.
Use this object's GetEnumerator() method to get access to the elements.
The elements of the enumeration are of type RowColumnValueTriplet. These are triplets consisting of the row, the column and the value of the nonzero component.