Skip to main content

HyperCoordPairFn

Type Alias HyperCoordPairFn 

Source
pub type HyperCoordPairFn = Arc<dyn Fn(usize, usize) -> HyperCoordPair + Send + Sync>;
Expand description

Shared-ownership callback computing a second-order fixed-β HyperCoordPair for a coordinate pair (i, j).

Arc (not Box) so the same callback can be cloned into a derived InnerSolution — notably the tangent-projected solution built under active inequality constraints, which must carry the very same pair callbacks through to ValueGradientHessian outer-Hessian assembly. The pair objects are p-space; every consumer contracts them through the (possibly tangent-wrapped) Hessian operator, which applies the ZᵀMZ / Z H_T⁻¹ Zᵀ projection internally, so a clone-through is mathematically exact.

Aliased Type§

pub struct HyperCoordPairFn { /* private fields */ }