Trait argmin::parameter::ArgminParameter [] [src]

pub trait ArgminParameter: Clone + Default + Debug + Index<usize, Output = Self::Element> + IndexMut<usize> {
    type Element: PartialOrd + Clone;
    fn modify(&self) -> (Self, usize);
fn random(_: &Self, _: &Self) -> Self; }

This trait needs to be implemented for every parameter fed into the solvers. This is highly UNSTABLE and will change in the future.

Associated Types

Type of a single element of the parameter vector

Required Methods

Defines a single modification of the parameter vector.

The parameters:

&self: reference to the object of type Self

Returns a completely random parameter vector

The resulting parameter vector satisfies lower_bound, upper_bound.

Implementations on Foreign Types

impl ArgminParameter for Vec<f64>
[src]

[src]

[src]

impl ArgminParameter for Vec<f32>
[src]

[src]

[src]

impl ArgminParameter for Array1<f64>
[src]

[src]

[src]

impl ArgminParameter for Array1<f32>
[src]

[src]

[src]

Implementors