class_docstr: The Matern class of kernels. 
class_docstr_tok: ["The","Matern","class","of","kernels","."]
docstr: Constructor. dim is the dimension. 
docstr_tok: ["Constructor",".","dim","is","the","dimension","."]
code: def __init__(self, dim, nu=None, scale=None, dim_bandwidths=None):
      """Constructor. dim is the dimension."""
      super(MaternKernel, self).__init__()
      self.dim = dim
      self.p = None
      self.norm_constant = None
      self.set_matern_hyperparams(nu, scale, dim_bandwidths)
  
imports: from __future__ import print_function
  import numpy
  from scipy.linalg import solve_triangular
label_desc: Use image node_id 1 to create a new MaternKernel object from inherited base classes: Kernel with example: obj = MaternKernel(dim, nu, scale, dim_bandwidths)