Class SparseVectorData stores sparse vector data.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
[SerializableAttribute] public class SparseVectorData<T> : ICloneable, IEquatable<SparseVectorData<T>> |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class SparseVectorData(Of T) _ Implements ICloneable, IEquatable(Of SparseVectorData(Of T)) |
| Visual C++ |
|---|
[SerializableAttribute] generic<typename T> public ref class SparseVectorData : ICloneable, IEquatable<SparseVectorData<T>^> |
Type Parameters
- T
- The type of the nonzero elements. Either double or DoubleComplex
Remarks
The nonzero elements of the vector are stored in a resizable array of type T
and their corresponding indexes are stored in a separate, parallel array of integers.
Inheritance Hierarchy
System..::.Object
CenterSpace.NMath.Matrix..::.SparseVectorData<(Of <(T>)>)
CenterSpace.NMath.Matrix..::.DoubleComplexSparseVector
CenterSpace.NMath.Matrix..::.DoubleSparseVector
CenterSpace.NMath.Matrix..::.SparseVectorData<(Of <(T>)>)
CenterSpace.NMath.Matrix..::.DoubleComplexSparseVector
CenterSpace.NMath.Matrix..::.DoubleSparseVector