pub struct ArgminIterationData<T: Clone> { /* private fields */ }
Expand description

The datastructure which is returned by the next_iter method of the ArgminNextIter trait.

TODO: think about removing this or replacing it with something better. Actually, a tuple would be sufficient.

Implementations

Constructor

Returns the parameter vector

Returns the cost function value

Adds an ArgminKV

Returns an ArgminKV

TODO: Keep it consistent, remove the get_.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.