pub struct LeastSquaresOptions {
pub ftol: f64,
pub xtol: f64,
pub gtol: f64,
pub max_nfev: Option<usize>,
pub loss: Loss,
pub f_scale: f64,
}Expand description
Options for least_squares_bounded, with SciPy’s defaults.
Fields§
§ftol: f64§xtol: f64§gtol: f64§max_nfev: Option<usize>The largest number of residual evaluations; 100 n when None.
loss: Loss§f_scale: f64The residual size at which the robust loss starts to differ from ordinary least squares.
Trait Implementations§
Source§impl Clone for LeastSquaresOptions
impl Clone for LeastSquaresOptions
impl Copy for LeastSquaresOptions
Source§impl Debug for LeastSquaresOptions
impl Debug for LeastSquaresOptions
Auto Trait Implementations§
impl Freeze for LeastSquaresOptions
impl RefUnwindSafe for LeastSquaresOptions
impl Send for LeastSquaresOptions
impl Sync for LeastSquaresOptions
impl Unpin for LeastSquaresOptions
impl UnsafeUnpin for LeastSquaresOptions
impl UnwindSafe for LeastSquaresOptions
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