public ESeriesCalculator(ICachedSingleSeriesCalculator <int, double, double> gSeries, ISingleValuedSeriesCalculator <int, int, double> param, IReadOnlyParameterProvider <double> parameters) { _gSeries = gSeries; _param = param; _parameters = parameters; }
public void CreateFromConfigs() { var parameters = new DictionaryParametersProvider(new Dictionary <string, double> { { "sigma", double.Parse(Kappa) } }); var eSeriesParam = new ESeriesParam(parameters); var gSeries = new GSeriesCalculator(parameters); _eSeries = new ESeriesCalculator(gSeries, eSeriesParam, parameters); _eSeries.SetCacheSize(int.Parse(Number)); }