A
DataSeries
represents a named sequence of
double
values, and optionally refers to another
DataSeries
as its
domain. Originally designed for making graphs and charts, but probably other
uses could be found.
This file also contains several
DataSeries
implementations as
nested static classes:
-
FunctionDataSeries
, which computes data series values
dynamically, according to a function supplied at construction;
-
ArrayDataSeries
, which is backed by an array;
-
ListDataSeries
, which is backed by a list, and includes
static methods for reading a data series from a file or input stream; and
-
AverageDataSeries
, which computes data series values
dynamically as a linear combination of the value of other data series
supplied at construction.