net.finmath.timeseries.TimeSeries Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-lib Show documentation
Show all versions of finmath-lib Show documentation
finmath lib is a Mathematical Finance Library in Java.
It provides algorithms and methodologies related to mathematical finance.
package net.finmath.timeseries;
/**
* Interface to be implemented by finite time series.
*
* @author Christian Fries
* @version 1.0
*/
public interface TimeSeries {
double getTime(int index);
double getValue(int index);
int getNumberOfTimePoints();
Iterable getValues();
}