v2
Added:
calculateParameters(src, n)
calculateParameter: aproximates parrameters for a * e^k + b * e^l
Parameters:
src (float): series price Source
n (int)
Returns: a k b l parameters for a * e^k + b * e^l
LaplaceTransformv1(xval, N, a, b, c, d, repeat)
LaplaceTransformv1: My version 1 of laplace transform with 4 parrameters
Parameters:
xval (float): series to aproximate
N (int): number of close prices in calculations
a (float): laplace coeficient
b (float): second laplace coeficient
c (float): laplace multyply
d (float): second laplace multiply
repeat (int): number of repetitions
Returns: Aproxiated source value
LaplaceTransformv2(xval, N, a, b, c, d, repeat)
LaplaceTransformv1: My version 1 of laplace transform with 4 parrameters
Parameters:
xval (float): series to aproximate
N (int): number of close prices in calculations
a (float): laplace coeficient
b (float): second laplace coeficient
c (float): laplace multyply
d (float): second laplace multiply
repeat (int): number of repetitions
Returns: Aproxiated source value