% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/internal.R
\name{.get_dispatch_scalar}
\alias{.get_dispatch_scalar}
\title{Resolve kernel dispatch functions (scalar)
Dispatch returns raw scalar nimbleFunctions for codegen; do not wrap.}
\usage{
.get_dispatch_scalar(spec_or_fit, backend_override = NULL, gpd_override = NULL)
}
\arguments{
\item{spec_or_fit}{mixgpd_fit or spec list}
}
\value{
List with d/p/q/r/mean/mean_trunc functions and bulk_params.
}
\description{
Resolve kernel dispatch functions (scalar)
Dispatch returns raw scalar nimbleFunctions for codegen; do not wrap.
}
\details{
This helper resolves the density, distribution, quantile, random-generation,
and mean functions implied by a kernel, backend, and GPD setting. The result
is intentionally scalar and wrapper-free because it is used in code-generation
contexts where NIMBLE expects raw function objects rather than vectorized R
adapters.
}
\keyword{internal}
