Skip to main content

BoundedParameters

Trait BoundedParameters 

Source
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§

Source

fn parameter_bounds() -> Vec<(f64, f64)>

Get the valid parameter bounds as (min, max) pairs.

Source

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".

Implementors§