Skip to content

Commit c52ca43

Browse files
committed
docs: Add boundary condition information
Signed-off-by: Sietze van Buuren <s.van.buuren@gmail.com>
1 parent 354871e commit c52ca43

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ For cubic piecewise interpolation, the library features three types:
2525

2626
- Monotone cubic interpolation
2727
- Modified Akima spline interpolation
28-
- Natural cubic spline interpolation
28+
- Natural cubic spline interpolation, with the following boundary conditions:
29+
- Not-A-Knot (first and second cell at ends share same polynomial)
30+
- Natural (vanishing second derivative at ends)
31+
- Clamped (vanishing first derivative at ends)
32+
- Periodic (value, first and second derivative match for ends)
2933

3034
All classes are templatized and support the STL's vector types.
3135

0 commit comments

Comments
 (0)