Show / Hide Table of Contents

Class SparseVector<T>.Element

A vector element for SparseVector<T>

Inheritance
object
Element<T>
SparseVector<T>.Element
Implements
ISparseVectorElement<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 SparseVector<T>.Element : Element<T>, ISparseVectorElement<T>

Constructors

Element(int)

Initializes a new instance of the SparseVector<T>.Element class.

Declaration
public Element(int index)
Parameters
Type Name Description
int index

The index.

Properties

Index

Gets or sets the index.

Declaration
public int Index { get; set; }
Property Value
Type Description
int

The index.

NextInVector

Gets or sets the next element in the vector.

Declaration
public SparseVector<T>.Element NextInVector { get; set; }
Property Value
Type Description
SparseVector<T>.Element

PreviousInVector

Gets or sets the previous element in the vector.

Declaration
public SparseVector<T>.Element PreviousInVector { get; set; }
Property Value
Type Description
SparseVector<T>.Element

Implements

ISparseVectorElement<T>

Extension Methods

Utility.ThrowIfNull<T>(T, string)
In this article
Back to top Generated by DocFX