pub struct OptimizedSolverConfig {
pub max_iterations: usize,
pub tolerance: Precision,
pub enable_profiling: bool,
}Expand description
Configuration for the optimized conjugate gradient solver.
Fields§
§max_iterations: usizeMaximum number of iterations
tolerance: PrecisionConvergence tolerance
enable_profiling: boolEnable performance profiling
Trait Implementations§
Source§impl Clone for OptimizedSolverConfig
impl Clone for OptimizedSolverConfig
Source§fn clone(&self) -> OptimizedSolverConfig
fn clone(&self) -> OptimizedSolverConfig
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 OptimizedSolverConfig
impl Debug for OptimizedSolverConfig
Auto Trait Implementations§
impl Freeze for OptimizedSolverConfig
impl RefUnwindSafe for OptimizedSolverConfig
impl Send for OptimizedSolverConfig
impl Sync for OptimizedSolverConfig
impl Unpin for OptimizedSolverConfig
impl UnwindSafe for OptimizedSolverConfig
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