pub struct Problem<ObjFn> { /* private fields */ }Implementations§
Source§impl<ObjFn> Problem<ObjFn>where
ObjFn: FirstOrderObjective,
impl<ObjFn> Problem<ObjFn>where
ObjFn: FirstOrderObjective,
pub fn new( x0: ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>, objective: ObjFn, ) -> Problem<ObjFn>
pub fn with_bounds(self, bounds: Bounds) -> Problem<ObjFn>
pub fn with_tolerance(self, tolerance: Tolerance) -> Problem<ObjFn>
pub fn with_max_iterations( self, max_iterations: MaxIterations, ) -> Problem<ObjFn>
pub fn with_profile(self, profile: Profile) -> Problem<ObjFn>
Auto Trait Implementations§
impl<ObjFn> Freeze for Problem<ObjFn>where
ObjFn: Freeze,
impl<ObjFn> RefUnwindSafe for Problem<ObjFn>where
ObjFn: RefUnwindSafe,
impl<ObjFn> Send for Problem<ObjFn>where
ObjFn: Send,
impl<ObjFn> Sync for Problem<ObjFn>where
ObjFn: Sync,
impl<ObjFn> Unpin for Problem<ObjFn>where
ObjFn: Unpin,
impl<ObjFn> UnsafeUnpin for Problem<ObjFn>where
ObjFn: UnsafeUnpin,
impl<ObjFn> UnwindSafe for Problem<ObjFn>where
ObjFn: 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