You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,15 @@ type(bspline_3d) :: s
70
70
s = bspline_3d(x,y,z,fcn,kx,ky,kz,iflag,extrap)
71
71
```
72
72
73
+
## Spline order
74
+
75
+
The various `k` inputs (i.e., `kx`, `ky`, etc.) specify the spline order for each dimension. The order is the polynomial degree + 1. For example:
76
+
77
+
*`k=2` : Linear
78
+
*`k=3` : Quadratic
79
+
*`k=4` : Cubic
80
+
* etc.
81
+
73
82
## Extrapolation
74
83
75
84
The library optionally supports extrapolation for points outside the range of the coefficients. This is disabled by default (in which case an error code is returned for points outside the bounds). To enable extrapolation, use the optional `extrap` input to the various `db*val` subroutines or the `initialize` methods from the object-oriented interface.
@@ -180,3 +189,10 @@ The latest API documentation can be found [here](https://jacobwilliams.github.io
180
189
## License
181
190
182
191
The bspline-fortran source code and related files and documentation are distributed under a permissive free software [license](https://github.com/jacobwilliams/bspline-fortran/blob/master/LICENSE) (BSD-style).
0 commit comments