pub struct StabilityTestConfig {
pub gradient_tolerance: f64,
pub finite_diff_tolerance: f64,
pub finite_diff_step: f64,
pub num_test_points: usize,
pub check_second_order: bool,
pub max_condition_number: f64,
pub comprehensive_analysis: bool,
}Expand description
Configuration for numerical stability testing
Fields§
§gradient_tolerance: f64Tolerance for gradient checks
finite_diff_tolerance: f64Tolerance for finite difference approximations
finite_diff_step: f64Step size for finite differences
num_test_points: usizeNumber of random test points to sample
check_second_order: boolEnable second-order gradient checking
max_condition_number: f64Maximum condition number to accept
comprehensive_analysis: boolEnable comprehensive error analysis
Trait Implementations§
Source§impl Clone for StabilityTestConfig
impl Clone for StabilityTestConfig
Source§fn clone(&self) -> StabilityTestConfig
fn clone(&self) -> StabilityTestConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StabilityTestConfig
impl Debug for StabilityTestConfig
Auto Trait Implementations§
impl Freeze for StabilityTestConfig
impl RefUnwindSafe for StabilityTestConfig
impl Send for StabilityTestConfig
impl Sync for StabilityTestConfig
impl Unpin for StabilityTestConfig
impl UnsafeUnpin for StabilityTestConfig
impl UnwindSafe for StabilityTestConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more