File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ immutable Constant <: Degree{0} end
33"""
44Constant b-splines are *nearest-neighbor* interpolations, and effectively
55return `A[round(Int,x)]` when interpolating
6-
7- Also, although the implementation is slightly different in order to re-use
8- the framework built for general b-splines, the resulting interpolant is just
9- a piecewise linear function connecting each pair of neighboring data points.
106"""
117Constant
128
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Quadratic{BC<:Flag}(::BC) = Quadratic{BC}()
55Assuming uniform knots with spacing 1, the `i`th piece of quadratic spline
66implemented here is defined as follows:
77
8- y_i(x) = cm p(x-i) + c q(x) + cp(1-(x-i))
8+ y_i(x) = cm p(x-i) + c q(x) + cp p (1-(x-i))
99
1010where
1111
You can’t perform that action at this time.
0 commit comments