#include <iterative-inl.h>
Public Types | |
typedef ConjugateGradientParameters | Parameters |
Public Member Functions | |
CGState (const S &Ab, const V &x, const Parameters ¶meters, bool steep) | |
void | print (const V &x) |
bool | step (const S &Ab, V &x) |
double | takeOptimalStep (V &x) |
Public Attributes | |
E | Ad |
V | d |
gradient g and search direction d for CG More... | |
V | g |
double | gamma |
int | k |
iteration More... | |
const Parameters & | parameters_ |
bool | steepest |
flag to indicate we are doing steepest descent More... | |
double | threshold |
gamma (squared L2 norm of g) and convergence threshold More... | |
Definition at line 29 of file iterative-inl.h.
typedef ConjugateGradientParameters gtsam::CGState< S, V, E >::Parameters |
Definition at line 31 of file iterative-inl.h.
|
inline |
Definition at line 42 of file iterative-inl.h.
|
inline |
Definition at line 62 of file iterative-inl.h.
|
inline |
Definition at line 82 of file iterative-inl.h.
|
inline |
Definition at line 73 of file iterative-inl.h.
E gtsam::CGState< S, V, E >::Ad |
Definition at line 38 of file iterative-inl.h.
V gtsam::CGState< S, V, E >::d |
gradient g and search direction d for CG
Definition at line 36 of file iterative-inl.h.
V gtsam::CGState< S, V, E >::g |
Definition at line 36 of file iterative-inl.h.
double gtsam::CGState< S, V, E >::gamma |
Definition at line 37 of file iterative-inl.h.
int gtsam::CGState< S, V, E >::k |
iteration
Definition at line 34 of file iterative-inl.h.
const Parameters& gtsam::CGState< S, V, E >::parameters_ |
Definition at line 32 of file iterative-inl.h.
bool gtsam::CGState< S, V, E >::steepest |
flag to indicate we are doing steepest descent
Definition at line 35 of file iterative-inl.h.
double gtsam::CGState< S, V, E >::threshold |
gamma (squared L2 norm of g) and convergence threshold
Definition at line 37 of file iterative-inl.h.