% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{compute_mess}
\alias{compute_mess}
\title{Compute MESS (Multivariate Environmental Similarity Surface)}
\usage{
compute_mess(grid_ptrs, reference_values, feature_names)
}
\arguments{
\item{grid_ptrs}{List of external pointers to Grid<float> objects.}

\item{reference_values}{List of numeric vectors with reference values
for each variable (e.g. values at training sites).}

\item{feature_names}{Character vector of variable names.}
}
\value{
A named list with:
  \describe{
    \item{mess_grid}{External pointer to Grid<float> with MESS values}
    \item{mod_grid}{External pointer to Grid<float> with MoD variable index (1-based)}
  }
}
\description{
Measures how similar each cell is to the training environment.
Negative values indicate novel (non-analog) conditions.
}
