pub trait ArgminNextIter {
    type Parameters: Clone;
    type OperatorOutput;
    type Hessian;

    fn next_iter(
        &mut self
    ) -> Result<ArgminIterationData<Self::Parameters>, Error>; fn init(&mut self) -> Result<(), Error> { ... } }
Expand description

Main part of every solver: next_iter computes one iteration of the algorithm and init is executed before these iterations. The init method comes with a default implementation which corresponds to doing nothing.

Required Associated Types

Parameter vectors

Output of the operator

Hessian

Required Methods

Computes one iteration of the algorithm.

Provided Methods

Initializes the algorithm

This is executed before any iterations are performed. It can be used to perform precomputations. The default implementation corresponds to doing nothing.

Implementors