mljs / array-utils

Some array utilities in JavaScript
MIT License
2 stars 1 forks source link

getEquallySpace method #10

Open andcastillo opened 7 years ago

andcastillo commented 7 years ago

We have to change those methods to a single general methods that uses interpolating/extrapolating and approximation polynomials to get the values in the array. A parameter should be the degree of the polynomial we want to use.

maasencioh commented 7 years ago

@andcastillo I think that splines can work better for the interpolation in this case, but it could be an option as well