Class SparseMatrix<T>.Element
An element for a sparse matrix.
Implements
Inherited Members
Namespace: SpiceSharp.Algebra
Assembly: SpiceSharp.dll
Syntax
protected class SparseMatrix<T>.Element : Element<T>, ISparseMatrixElement<T>
Constructors
Element(MatrixLocation)
Initializes a new instance of the SparseMatrix<T>.Element class.
Declaration
public Element(MatrixLocation location)
Parameters
Type | Name | Description |
---|---|---|
MatrixLocation | location | The location of the element. |
Element(int, int)
Initializes a new instance of the SparseMatrix<T>.Element class.
Declaration
public Element(int row, int column)
Parameters
Type | Name | Description |
---|---|---|
int | row | The row index. |
int | column | The column index. |
Properties
Above
Gets or sets the previous element in the column.
Declaration
public SparseMatrix<T>.Element Above { get; set; }
Property Value
Type | Description |
---|---|
SparseMatrix<T>.Element | The matrix element. |
Below
Gets or sets the next element in the column.
Declaration
public SparseMatrix<T>.Element Below { get; set; }
Property Value
Type | Description |
---|---|
SparseMatrix<T>.Element | The matrix element. |
Column
Gets the column index of the matrix element.
Declaration
public int Column { get; set; }
Property Value
Type | Description |
---|---|
int | The column index. |
Left
Gets or sets the previous element in the row.
Declaration
public SparseMatrix<T>.Element Left { get; set; }
Property Value
Type | Description |
---|---|
SparseMatrix<T>.Element | The matrix element. |
Right
Gets or sets the next element in the row.
Declaration
public SparseMatrix<T>.Element Right { get; set; }
Property Value
Type | Description |
---|---|
SparseMatrix<T>.Element | The matrix element. |
Row
Gets the row index of the matrix element.
Declaration
public int Row { get; set; }
Property Value
Type | Description |
---|---|
int | The row index. |
Implements
Extension Methods
See Also
Element<T>