Skip to content

Commit 7b6ca85

Browse files
committed
fix exponent missing in documentation for Matern kernel
1 parent 1fb1e33 commit 7b6ca85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/basekernels/matern.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Matérn kernel of order `ν` with respect to the `metric`.
88
For inputs ``x, x'`` and metric ``d(\\cdot, \\cdot)``, the Matérn kernel of order
99
``\\nu > 0`` is defined as
1010
```math
11-
k(x,x';\\nu) = \\frac{2^{1-\\nu}}{\\Gamma(\\nu)}\\big(\\sqrt{2\\nu} d(x, x')\\big) K_\\nu\\big(\\sqrt{2\\nu} d(x, x')\\big),
11+
k(x,x';\\nu) = \\frac{2^{1-\\nu}}{\\Gamma(\\nu)}\\big(\\sqrt{2\\nu} d(x, x')\\big)^{\\nu} K_\\nu\\big(\\sqrt{2\\nu} d(x, x')\\big),
1212
```
1313
where ``\\Gamma`` is the Gamma function and ``K_{\\nu}`` is the modified Bessel function of
1414
the second kind of order ``\\nu``.

0 commit comments

Comments
 (0)