Struct ka::single::RosenbrockConst2[][src]

pub struct RosenbrockConst2 {}

This is a constrained version of the Rosenbrock function.

The function is borrowed from here. This function is specifically 2 dimensional, and has a feasible region that looks like this:

Trait Implementations

impl Constrained for RosenbrockConst2[src]

impl FixedDimensional for RosenbrockConst2[src]

impl SingleObjective for RosenbrockConst2[src]

const MINIMUM: f64[src]

The global minimum is constant and zero

fn f(x: Vec<f64>) -> f64[src]

Function for evaluating

fn minimizer(_n: usize) -> Vec<f64>[src]

This function returns the minimizer (argument that will return the global minimum

impl UnBounded for RosenbrockConst2[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.