Struct ka::single::Matyas[][src]

pub struct Matyas {}

This is the Matyas function.

The function is borrowed from here. Although the function accepts a vector with an arbitrary number of inputs, this is what it looks like in 2D:

Trait Implementations

impl Bounded for Matyas[src]

const BOUNDS: (f64, f64)[src]

The bounds of the canonical sphere optimization problem are infinite.

impl NDimensional for Matyas[src]

impl SingleObjective for Matyas[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 UnConstrained for Matyas[src]

Auto Trait Implementations

impl RefUnwindSafe for Matyas

impl Send for Matyas

impl Sync for Matyas

impl Unpin for Matyas

impl UnwindSafe for Matyas

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.