pub struct ConvergenceVisualizer {
pub max_iterations: usize,
pub tolerance: f64,
pub track_multiple_metrics: bool,
}Expand description
Advanced convergence visualization for iterative algorithms
Fields§
§max_iterations: usizeMaximum number of iterations to track
tolerance: f64Convergence tolerance
track_multiple_metrics: boolTrack multiple convergence metrics
Implementations§
Source§impl ConvergenceVisualizer
impl ConvergenceVisualizer
Sourcepub fn plot_residual_convergence(
&self,
residuals: &Array1<f64>,
algorithm_name: &str,
) -> IntegrateResult<ConvergencePlot>
pub fn plot_residual_convergence( &self, residuals: &Array1<f64>, algorithm_name: &str, ) -> IntegrateResult<ConvergencePlot>
Create convergence plot for residuals
Sourcepub fn plot_multi_metric_convergence(
&self,
metrics: &[(String, Array1<f64>)],
) -> IntegrateResult<MultiMetricConvergencePlot>
pub fn plot_multi_metric_convergence( &self, metrics: &[(String, Array1<f64>)], ) -> IntegrateResult<MultiMetricConvergencePlot>
Create multi-metric convergence plot
Sourcepub fn plot_step_size_analysis(
&self,
step_sizes: &Array1<f64>,
errors: &Array1<f64>,
method_name: &str,
) -> IntegrateResult<StepSizeAnalysisPlot>
pub fn plot_step_size_analysis( &self, step_sizes: &Array1<f64>, errors: &Array1<f64>, method_name: &str, ) -> IntegrateResult<StepSizeAnalysisPlot>
Visualize error vs. step size for method comparison
Sourcepub fn plot_phase_space_density(
&self,
x_data: &Array1<f64>,
y_data: &Array1<f64>,
grid_size: usize,
) -> IntegrateResult<PhaseDensityPlot>
pub fn plot_phase_space_density( &self, x_data: &Array1<f64>, y_data: &Array1<f64>, grid_size: usize, ) -> IntegrateResult<PhaseDensityPlot>
Create phase space density plot for attractor visualization
Trait Implementations§
Source§impl Clone for ConvergenceVisualizer
impl Clone for ConvergenceVisualizer
Source§fn clone(&self) -> ConvergenceVisualizer
fn clone(&self) -> ConvergenceVisualizer
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 ConvergenceVisualizer
impl Debug for ConvergenceVisualizer
Auto Trait Implementations§
impl Freeze for ConvergenceVisualizer
impl RefUnwindSafe for ConvergenceVisualizer
impl Send for ConvergenceVisualizer
impl Sync for ConvergenceVisualizer
impl Unpin for ConvergenceVisualizer
impl UnwindSafe for ConvergenceVisualizer
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