Skip to content

Commit 42665eb

Browse files
authored
Add Matern12 covariance function to docs (#6429)
* Add Matern12 covariance function to docs
1 parent f6a502a commit 42665eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pymc/gp/cov.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"Exponential",
3535
"Matern52",
3636
"Matern32",
37+
"Matern12",
3738
"Linear",
3839
"Polynomial",
3940
"Cosine",
@@ -515,7 +516,9 @@ class Matern12(Stationary):
515516
r"""
516517
The Matern kernel with nu = 1/2
517518
518-
k(x, x') = \mathrm{exp}\left[ -\frac{(x - x')^2}{\ell} \right]
519+
.. math::
520+
521+
k(x, x') = \mathrm{exp}\left[ -\frac{(x - x')^2}{\ell} \right]
519522
"""
520523

521524
def full(self, X, Xs=None):

0 commit comments

Comments
 (0)