Show / Hide Table of Contents

Class SparseMatrix<T>.Element

An element for a sparse matrix.

Inheritance
object
Element<T>
SparseMatrix<T>.Element
Implements
ISparseMatrixElement<T>
Inherited Members
Element<T>.Addition
Element<T>.Subtraction
Element<T>.Value
Element<T>.ToString()
Element<T>.Add(T)
Element<T>.Subtract(T)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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

ISparseMatrixElement<T>

Extension Methods

Utility.ThrowIfNull<T>(T, string)

See Also

Element<T>
ISparseMatrixElement<T>
In this article
Back to top Generated by DocFX