#[non_exhaustive]pub struct CobyqaConstants {Show 20 fields
pub decrease_radius_factor: f64,
pub increase_radius_factor: f64,
pub increase_radius_threshold: f64,
pub decrease_radius_threshold: f64,
pub decrease_resolution_factor: f64,
pub large_resolution_threshold: f64,
pub moderate_resolution_threshold: f64,
pub low_ratio: f64,
pub high_ratio: f64,
pub very_low_ratio: f64,
pub penalty_increase_threshold: f64,
pub penalty_increase_factor: f64,
pub short_step_threshold: f64,
pub low_radius_factor: f64,
pub byrd_omojokun_factor: f64,
pub threshold_ratio_constraints: f64,
pub large_shift_factor: f64,
pub large_gradient_factor: f64,
pub resolution_factor: f64,
pub improve_tcg: bool,
}Expand description
The constants of the method, with SciPy’s defaults; CobyqaConstants::validate checks the ranges and
relations that SciPy enforces.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.decrease_radius_factor: f64§increase_radius_factor: f64§increase_radius_threshold: f64§decrease_radius_threshold: f64§decrease_resolution_factor: f64§large_resolution_threshold: f64§moderate_resolution_threshold: f64§low_ratio: f64§high_ratio: f64§very_low_ratio: f64§penalty_increase_threshold: f64§penalty_increase_factor: f64§short_step_threshold: f64§low_radius_factor: f64§byrd_omojokun_factor: f64§threshold_ratio_constraints: f64§large_shift_factor: f64§large_gradient_factor: f64§resolution_factor: f64§improve_tcg: boolImplementations§
Trait Implementations§
Source§impl Clone for CobyqaConstants
impl Clone for CobyqaConstants
impl Copy for CobyqaConstants
Source§impl Debug for CobyqaConstants
impl Debug for CobyqaConstants
Source§impl Default for CobyqaConstants
impl Default for CobyqaConstants
Source§impl PartialEq for CobyqaConstants
impl PartialEq for CobyqaConstants
impl StructuralPartialEq for CobyqaConstants
Auto Trait Implementations§
impl Freeze for CobyqaConstants
impl RefUnwindSafe for CobyqaConstants
impl Send for CobyqaConstants
impl Sync for CobyqaConstants
impl Unpin for CobyqaConstants
impl UnsafeUnpin for CobyqaConstants
impl UnwindSafe for CobyqaConstants
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more