R/distance.R

Defines functions distance.MuFiMeshGP

#' Calculates the distance for the covariance matrix
#'
#' @noRd

distance.MuFiMeshGP <- function(x1, x2 = NULL) {
  if (is.null(x2)) D <- anisoDist1_cpp(x1) else D <- anisoDist2_cpp(x1, x2)
  return(D)
}

Try the MuFiMeshGP package in your browser

Any scripts or data that you put into this service are public.

MuFiMeshGP documentation built on Sept. 1, 2025, 5:09 p.m.