Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 764 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 764 Bytes

Spline

This code implements cubic spline interpolation and a few related methods.

Typescript

Typescript code is in ts/src folder. To compile to JavaScript, run tsc command in ts folder, JavaScript files will appear in ts/dist.

Demo (source in ts/demo folder) can be seen at at:

Java

Java code is in java/src folder. To compile and run the demo use:

mkdir -p java/dist
cd java/src
javac -d ../dist --source-path ../src com/sorotokin/spline/Main.java
java -cp ../dist com.sorotokin.spline.Main

To run tests

java -cp ../dist:/path/to/junit.jar junit.textui.TestRunner com.sorotokin.spline.SplineTest