Skip to content

Commit b03616a

Browse files
author
Tomas Lycken
committed
Fixed typos
1 parent 0afbede commit b03616a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/b-splines/constant.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ immutable Constant <: Degree{0} end
33
"""
44
Constant b-splines are *nearest-neighbor* interpolations, and effectively
55
return `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
"""
117
Constant
128

src/b-splines/quadratic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Quadratic{BC<:Flag}(::BC) = Quadratic{BC}()
55
Assuming uniform knots with spacing 1, the `i`th piece of quadratic spline
66
implemented 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
1010
where
1111

0 commit comments

Comments
 (0)