Skip to content

Commit

Permalink
Add Matern12 covariance function to docs (#6429)
Browse files Browse the repository at this point in the history
* Add Matern12 covariance function to docs
  • Loading branch information
fonnesbeck committed Jan 4, 2023
1 parent f6a502a commit 42665eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pymc/gp/cov.py
Expand Up @@ -34,6 +34,7 @@
"Exponential",
"Matern52",
"Matern32",
"Matern12",
"Linear",
"Polynomial",
"Cosine",
Expand Down Expand Up @@ -515,7 +516,9 @@ class Matern12(Stationary):
r"""
The Matern kernel with nu = 1/2
k(x, x') = \mathrm{exp}\left[ -\frac{(x - x')^2}{\ell} \right]
.. math::
k(x, x') = \mathrm{exp}\left[ -\frac{(x - x')^2}{\ell} \right]
"""

def full(self, X, Xs=None):
Expand Down

0 comments on commit 42665eb

Please sign in to comment.