pub struct FunctionAnalysis {
pub name: String,
pub input_range: (f32, f32),
pub num_points: usize,
pub max_value: f32,
pub min_value: f32,
pub singularities: Vec<f32>,
pub numerical_accuracy: f32,
pub monotonicity: Monotonicity,
}Expand description
Function behavior analysis results
Fields§
§name: StringFunction name
input_range: (f32, f32)Input range analyzed
num_points: usizeNumber of sample points
max_value: f32Maximum absolute value in the range
min_value: f32Minimum absolute value in the range
singularities: Vec<f32>Points where function has discontinuities or singularities
numerical_accuracy: f32Estimated numerical accuracy (relative error)
monotonicity: MonotonicityFunction monotonicity in the range
Trait Implementations§
Source§impl Clone for FunctionAnalysis
impl Clone for FunctionAnalysis
Source§fn clone(&self) -> FunctionAnalysis
fn clone(&self) -> FunctionAnalysis
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 moreAuto Trait Implementations§
impl Freeze for FunctionAnalysis
impl RefUnwindSafe for FunctionAnalysis
impl Send for FunctionAnalysis
impl Sync for FunctionAnalysis
impl Unpin for FunctionAnalysis
impl UnsafeUnpin for FunctionAnalysis
impl UnwindSafe for FunctionAnalysis
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