Commit graph

5 commits

Author SHA1 Message Date
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