% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/matching_lazy.R
\name{transpose_lazy_cost_spec}
\alias{transpose_lazy_cost_spec}
\title{Swap left/right in a lazy cost spec}
\usage{
transpose_lazy_cost_spec(spec)
}
\description{
A cheap metadata field-swap (left_mat <-> right_mat, n_left <-> n_right),
unlike the dense path's \code{t()} matrix copy. Calipers/max_distance are
unaffected: a caliper's \code{var_index} refers to a matching VARIABLE
(a column shared by both sides), not a left/right unit index, so it does
not need to change when the roles of left/right are swapped.
}
\keyword{internal}
