pub trait AsTargets {
type Elem;
type Ix: TargetDim;
fn as_targets(&self) -> ArrayView<'_, Self::Elem, Self::Ix>;
}
Expand description
Return a reference to single or multiple target variables.
This is generic over the dimension of the target array to support both single-target and multi-target variables.