pub trait BoundedParameters {
// Required methods
fn parameter_bounds() -> Vec<(f64, f64)>;
fn check_bounds(&self) -> Result<()>;
}Expand description
Trait for copulas that support parameter bounds and constraints.
Required Methods§
Sourcefn parameter_bounds() -> Vec<(f64, f64)>
fn parameter_bounds() -> Vec<(f64, f64)>
Get the valid parameter bounds as (min, max) pairs.
Sourcefn check_bounds(&self) -> Result<()>
fn check_bounds(&self) -> Result<()>
Check if parameters are within valid bounds.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".