Click or drag to resize

DataSeries Class

Collection of variable size for storing data. Applicable for either sliding or expanding window.
Inheritance Hierarchy
SystemObject
  FinMath.DataStructuresDataSeries

Namespace:  FinMath.DataStructures
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
[SerializableAttribute]
public class DataSeries

The DataSeries type exposes the following members.

Constructors
  NameDescription
Public methodDataSeries
Creates DataSeries for expanding window. It is still possible to remove outdated values manually.
Public methodDataSeries(Int32)
Creates DataSeries for sliding window.
Top
Properties
  NameDescription
Public propertyCapacity
Maximum possible number of elements contained simultaneously.
Public propertyCount
Number of elements currently contained in the series.
Public propertyItem
Returns certain element of the series by its index (0-based, 0-th value is the newest one).
Top
Methods
  NameDescription
Public methodAdd(Double)
Adds new value.
Public methodAdd(Double)
Adds new value.
Public methodClear
Removes all contained values.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemove
Removes the oldest currently contained values.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also