pub trait InverseLinkKernel {
// Required method
fn jet(&self, eta: f64) -> Result<InverseLinkJet, EstimationError>;
// Provided method
fn param_partials(
&self,
eta: f64,
) -> Result<Option<LinkParamPartials>, EstimationError> { ... }
}Expand description
Trait-based inverse-link kernel interface.
Implementors provide pointwise inverse-link derivatives wrt eta:
F(eta), F'(eta), F''(eta), F'''(eta).
Optionally they may expose parameter partials used by outer-loop optimization.
Required Methods§
fn jet(&self, eta: f64) -> Result<InverseLinkJet, EstimationError>
Provided Methods§
fn param_partials( &self, eta: f64, ) -> Result<Option<LinkParamPartials>, EstimationError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".