Skip to main content

Problem

Struct Problem 

Source
pub struct Problem<ObjFn> { /* private fields */ }

Implementations§

Source§

impl<ObjFn> Problem<ObjFn>
where ObjFn: FirstOrderObjective,

Source

pub fn new( x0: ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>, objective: ObjFn, ) -> Problem<ObjFn>

Source

pub fn with_bounds(self, bounds: Bounds) -> Problem<ObjFn>

Source

pub fn with_tolerance(self, tolerance: Tolerance) -> Problem<ObjFn>

Source

pub fn with_max_iterations( self, max_iterations: MaxIterations, ) -> Problem<ObjFn>

Source

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.