Interface ISparseMatrixElement<T>
A matrix element for an ISparseMatrix<T>. This element has links to the surrounding matrix elements.
Namespace: SpiceSharp.Algebra
Assembly: SpiceSharp.dll
Syntax
public interface ISparseMatrixElement<T>
Type Parameters
Name | Description |
---|---|
T | The base type. |
Properties
Above
Gets the nearest ISparseMatrixElement<T> above this one.
Declaration
ISparseMatrixElement<T> Above { get; }
Property Value
Type | Description |
---|---|
ISparseMatrixElement<T> | The matrix element. |
Below
Gets the nearest ISparseMatrixElement<T> below this one.
Declaration
ISparseMatrixElement<T> Below { get; }
Property Value
Type | Description |
---|---|
ISparseMatrixElement<T> | The matrix element. |
Column
Gets the column index of the matrix element.
Declaration
int Column { get; }
Property Value
Type | Description |
---|---|
int | The column index. |
Left
Gets the nearest ISparseMatrixElement<T> left of this one.
Declaration
ISparseMatrixElement<T> Left { get; }
Property Value
Type | Description |
---|---|
ISparseMatrixElement<T> | The matrix element. |
Right
Gets the nearest ISparseMatrixElement<T> right of this one.
Declaration
ISparseMatrixElement<T> Right { get; }
Property Value
Type | Description |
---|---|
ISparseMatrixElement<T> | The matrix element. |
Row
Gets the row index of the matrix element.
Declaration
int Row { get; }
Property Value
Type | Description |
---|---|
int | The row index. |
Value
Gets or sets the value of the element.
Declaration
T Value { get; set; }
Property Value
Type | Description |
---|---|
T | The value of the element. |