DataSeries Class |
Namespace: FinMath.DataStructures
[SerializableAttribute] public class DataSeries
The DataSeries type exposes the following members.
Name | Description | |
---|---|---|
DataSeries |
Creates DataSeries for expanding window.
It is still possible to remove outdated values manually.
| |
DataSeries(Int32) |
Creates DataSeries for sliding window.
|
Name | Description | |
---|---|---|
Capacity |
Maximum possible number of elements contained simultaneously.
| |
Count |
Number of elements currently contained in the series.
| |
Item |
Returns certain element of the series by its index (0-based, 0-th value is the newest one).
|
Name | Description | |
---|---|---|
Add(Double) |
Adds new value.
| |
Add(Double) |
Adds new value.
| |
Clear |
Removes all contained values.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Remove |
Removes the oldest currently contained values.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |