pub struct IterativeConfig<T = f64> {
pub tolerance: T,
pub max_iterations: usize,
}Expand description
Configuration for iterative solvers.
Fields§
§tolerance: TRelative residual tolerance.
max_iterations: usizeMaximum iterations.
Implementations§
Source§impl IterativeConfig<f64>
impl IterativeConfig<f64>
Sourcepub const fn default_f64() -> Self
pub const fn default_f64() -> Self
Default configuration for f64.
Source§impl IterativeConfig<f32>
impl IterativeConfig<f32>
Sourcepub const fn default_f32() -> Self
pub const fn default_f32() -> Self
Default configuration for f32.
Trait Implementations§
Source§impl<T: Clone> Clone for IterativeConfig<T>
impl<T: Clone> Clone for IterativeConfig<T>
Source§fn clone(&self) -> IterativeConfig<T>
fn clone(&self) -> IterativeConfig<T>
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<T: Debug> Debug for IterativeConfig<T>
impl<T: Debug> Debug for IterativeConfig<T>
Source§impl Default for IterativeConfig<f64>
impl Default for IterativeConfig<f64>
Auto Trait Implementations§
impl<T> Freeze for IterativeConfig<T>where
T: Freeze,
impl<T> RefUnwindSafe for IterativeConfig<T>where
T: RefUnwindSafe,
impl<T> Send for IterativeConfig<T>where
T: Send,
impl<T> Sync for IterativeConfig<T>where
T: Sync,
impl<T> Unpin for IterativeConfig<T>where
T: Unpin,
impl<T> UnsafeUnpin for IterativeConfig<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for IterativeConfig<T>where
T: UnwindSafe,
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