#include <polak_ribiere_direction.hpp>
Public Member Functions | |
| const std::vector< DenseMatrix< Complex > > & | next (const std::vector< DenseMatrix< Complex > > &gradients, bool restart) |
Definition at line 31 of file polak_ribiere_direction.hpp.
|
inline |
The direction to search along from a gauge whose gradient is gradients. restart forgets the previous direction and returns the steepest-descent one, which the caller asks for at intervals because the manifold is curved and a direction carried too far along it stops being conjugate to anything.
Definition at line 41 of file polak_ribiere_direction.hpp.