pub trait ConstraintSetReducedFace {
// Required method
fn reduced_face(
&self,
beta: ArrayView1<'_, f64>,
membership_tol: f64,
) -> Result<ReducedFace, EstimationError>;
}Expand description
The shared tight-face reduction op over the ConstraintSet carrier union.
An extension trait (not an inherent method) so the numeric reduction
stays in gam-solve where the solvers consume it, keeping gam-problem a pure
data crate. All three arms produce the same ReducedFace contract.
Required Methods§
fn reduced_face( &self, beta: ArrayView1<'_, f64>, membership_tol: f64, ) -> Result<ReducedFace, EstimationError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".