pub struct ErrorVisualizationEngine {
pub options: ErrorVisualizationOptions,
pub error_color_schemes: HashMap<ErrorType, ColorScheme>,
}Expand description
Error visualization engine for numerical analysis
Fields§
§options: ErrorVisualizationOptionsError analysis options
error_color_schemes: HashMap<ErrorType, ColorScheme>Color schemes for different error types
Implementations§
Source§impl ErrorVisualizationEngine
impl ErrorVisualizationEngine
Sourcepub fn visualize_error_distribution(
&self,
errors: &Array1<f64>,
error_type: ErrorType,
) -> IntegrateResult<ErrorDistributionPlot>
pub fn visualize_error_distribution( &self, errors: &Array1<f64>, error_type: ErrorType, ) -> IntegrateResult<ErrorDistributionPlot>
Visualize error distribution
Sourcepub fn visualize_error_evolution(
&self,
time_points: &Array1<f64>,
errors: &Array1<f64>,
error_type: ErrorType,
) -> IntegrateResult<PhaseSpacePlot>
pub fn visualize_error_evolution( &self, time_points: &Array1<f64>, errors: &Array1<f64>, error_type: ErrorType, ) -> IntegrateResult<PhaseSpacePlot>
Create error evolution plot over time/iterations
Sourcepub fn compare_error_types(
&self,
time_points: &Array1<f64>,
error_data: &[(ErrorType, Array1<f64>)],
) -> IntegrateResult<Vec<PhaseSpacePlot>>
pub fn compare_error_types( &self, time_points: &Array1<f64>, error_data: &[(ErrorType, Array1<f64>)], ) -> IntegrateResult<Vec<PhaseSpacePlot>>
Compare multiple error types
Trait Implementations§
Source§impl Clone for ErrorVisualizationEngine
impl Clone for ErrorVisualizationEngine
Source§fn clone(&self) -> ErrorVisualizationEngine
fn clone(&self) -> ErrorVisualizationEngine
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 ErrorVisualizationEngine
impl Debug for ErrorVisualizationEngine
Auto Trait Implementations§
impl Freeze for ErrorVisualizationEngine
impl RefUnwindSafe for ErrorVisualizationEngine
impl Send for ErrorVisualizationEngine
impl Sync for ErrorVisualizationEngine
impl Unpin for ErrorVisualizationEngine
impl UnwindSafe for ErrorVisualizationEngine
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