Interface ISparseVectorElement<T>
A vector element for an ISparseVector<T>. This element has links to the next and previous elements.
Namespace: SpiceSharp.Algebra
Assembly: SpiceSharp.dll
Syntax
public interface ISparseVectorElement<T>
Type Parameters
Name | Description |
---|---|
T | The base type. |
Properties
Above
Gets the nearest ISparseVectorElement<T> above this one.
Declaration
ISparseVectorElement<T> Above { get; }
Property Value
Type | Description |
---|---|
ISparseVectorElement<T> | The vector element. |
Below
Gets the nearest ISparseVectorElement<T> below this one.
Declaration
ISparseVectorElement<T> Below { get; }
Property Value
Type | Description |
---|---|
ISparseVectorElement<T> | The vector element. |
Index
Gets the index in the vector.
Declaration
int Index { get; }
Property Value
Type | Description |
---|---|
int | The index. |
Value
Gets or sets the value of the element.
Declaration
T Value { get; set; }
Property Value
Type | Description |
---|---|
T | The value. |