Package org.ojalgo.series.function
Class SeriesFunction<K extends Comparable<? super K>>
java.lang.Object
org.ojalgo.series.function.SeriesFunction<K>
- Type Parameters:
K
- The series key type
- Direct Known Subclasses:
SeriesExtrapolator
A function that maps from a (collection of) series and one or more keys to a series of numbers. The
interpretation of the input series data and the output series is completely free.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map
<String, ? extends BasicSeries<K, ? extends Comparable<?>>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
protected
SeriesFunction
(Map<String, ? extends BasicSeries<K, ? extends Comparable<?>>> data) protected
SeriesFunction
(BasicSeries<K, ? extends Comparable<?>> data) -
Method Summary
-
Field Details
-
myData
private final Map<String,? extends BasicSeries<K extends Comparable<? super K>, myData? extends Comparable<?>>>
-
-
Constructor Details
-
SeriesFunction
private SeriesFunction() -
SeriesFunction
-
SeriesFunction
-
-
Method Details
-
invoke
- Parameters:
key
- One or more time series keys- Returns:
- A map with one entry per series. Each entry/series has the same number of elements as there were input keys.
-
getAllSeriesNames
-
getSeries
-