Skip to content

Commit e2317c5

Browse files
rdebrandoschulz
authored andcommitted
Fix for Spline Formula
Eliminate the 'x' (exchanged with 'x_k')dependency in 's_k', matching the implementation.
1 parent 82f5539 commit e2317c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In the ``k``-th bin (``1\leq k \leq K``), the respective spline segment ``f_k``
2121
f_k : [x_k, x_{k+1}) \rightarrow [-B,B], ~x \mapsto y_k + \frac{(y_{k+1}-y_{k})[s_k\xi^2+\delta_k\xi(1-\xi)]}{s_k+[\delta_{k+1}+\delta_k-2s_k]\xi(1-\xi)},
2222
```
2323
```math
24-
\text{where} \quad s_k = s_k(x)= \frac{y_{k+1} - y_k}{x_{k+1}-x} \quad \text{and} \quad \xi = \xi(x) = \frac{x - x_k}{x_{k+1}-x_k}
24+
\text{where} \quad s_k = \frac{y_{k+1} - y_k}{x_{k+1}-x_k} \quad \text{and} \quad \xi = \xi(x) = \frac{x - x_k}{x_{k+1}-x_k}
2525
```
2626
The spline function ``f`` is then defined piece-wise from the segment functions within each bin. The segments of the inverse spline function ``f^{-1}`` are given by:
2727
```math

0 commit comments

Comments
 (0)