pub struct MinimizationResult<R: RealScalar> {
pub params: Vec<R>,
pub fun: R,
pub status: usize,
pub message: Option<String>,
}Fields§
§params: Vec<R>§fun: R§status: usize§message: Option<String>Implementations§
Source§impl<R: RealScalar> MinimizationResult<R>
impl<R: RealScalar> MinimizationResult<R>
pub fn simple_success(params: Vec<R>, fun: R) -> Self
pub fn to_instantiation(self) -> InstantiationResult<R::C>
Auto Trait Implementations§
impl<R> Freeze for MinimizationResult<R>where
R: Freeze,
impl<R> RefUnwindSafe for MinimizationResult<R>where
R: RefUnwindSafe,
impl<R> Send for MinimizationResult<R>
impl<R> Sync for MinimizationResult<R>
impl<R> Unpin for MinimizationResult<R>where
R: Unpin,
impl<R> UnwindSafe for MinimizationResult<R>where
R: 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
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
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