Skip to content
This repository has been archived by the owner on Nov 28, 2020. It is now read-only.

Latest commit

 

History

History
28 lines (28 loc) · 890 Bytes

README.md

File metadata and controls

28 lines (28 loc) · 890 Bytes

Approximation of splines

Compilation Univariate spline

$ make all

Using

Data generation

$ data_gen.exe <dimension> <func type> <begin val x> <end val x>
                [<begin val y> <end val y>]** <step count> <out filename>
                [for dimension = 3]"

Create Univariate spline

$ univariate_spline.exe <data filename> <result filename> <points count> <spline knots count> <spline degree>

Visualisation

$ python vis.py <dimension> <data filename> <result filename> <result knots filename>
                * <result knots filename> created auto by slpine.exe

Run example 2D-spline

$ data_gen.exe 2 spec 0 100 100 data
$ univariate_spline.exe data result 1000 11 4
$ python vis.py 2 data result result_knots

alt tag