Note: This API is now obsolete.
Gets a collection of the nonzero elements of the matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
[ObsoleteAttribute("Use the NonzeroElements property instead.")]
public IEnumerable<RowColumnValueTriplet<T>> NonzeroComponents { get; }
<ObsoleteAttribute("Use the NonzeroElements property instead.")>
Public ReadOnly Property NonzeroComponents As IEnumerable(Of RowColumnValueTriplet(Of T))
Get
public:
[ObsoleteAttribute(L"Use the NonzeroElements property instead.")]
property IEnumerable<RowColumnValueTriplet<T>>^ NonzeroComponents {
IEnumerable<RowColumnValueTriplet<T>>^ get ();
}
[<ObsoleteAttribute("Use the NonzeroElements property instead.")>]
member NonzeroComponents : IEnumerable<RowColumnValueTriplet<'T>> with get
Property Value
Type:
IEnumerableRowColumnValueTripletT
Use this property to enumerate over the nonzero elements 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 RowColumnValueTripletT.
These are triplets consisting of the row, the column and the value of the nonzero element.
Note to implementors: the order in which the elements are enumerated is not specified.
However, you must ensure that, before a element is yielded,
all elements with smaller row or column index have already been enumerated.
Reference