Commit graph

14 commits

Author SHA1 Message Date
Ahmet Inan
c83add357c made *x and *y args const 2021-09-11 16:34:35 +02:00
Ahmet Inan
4de8fe9af1 removed system includes 2020-10-13 10:47:14 +02:00
Ahmet Inan
e4b687d1f6 be consistend and use one sided difference if outside 2020-01-17 19:02:15 +01:00
Ahmet Inan
7d32acd2bb added simpler interface to non-uniform spline 2020-01-17 17:12:19 +01:00
Ahmet Inan
ad44b0f435 use upper case for array pointers 2020-01-17 16:06:01 +01:00
Ahmet Inan
4f3bd984d2 added simpler eval interface for uniform splines 2020-01-17 15:27:13 +01:00
Ahmet Inan
60830afbe6 added input and output type 2020-01-14 09:53:47 +01:00
Ahmet Inan
7043b1e35a added cubic Hermite spline 2020-01-13 10:21:33 +01:00
Ahmet Inan
c4b837b045 time to embrace #pragma once 2019-01-19 14:07:07 +01:00
Ahmet Inan
790888bdf4 give it a default constructor 2018-08-27 22:53:11 +02:00
Ahmet Inan
4332041e3e init variables using ITYPE 2018-03-29 08:57:36 +02:00
Ahmet Inan
d3cdb23fb2 simplified and made arrays one element shorter 2018-03-29 08:26:35 +02:00
Ahmet Inan
54ae4f735e added x0 and dx args to constructor 2018-03-28 19:48:42 +02:00
Ahmet Inan
9bd5546470 added Algorithm for computing Natural Cubic Splines
Modified algorithm from Wikipedia to work with integer x_i and x_i >= 0:
https://en.wikipedia.org/wiki/Spline_(mathematics)#Algorithm_for_computing_natural_cubic_splines
2018-03-28 16:29:46 +02:00