gtsam
4.0.0
gtsam
|
Public Member Functions | |
CGState (const S &Ab, const V &x, const Parameters ¶meters, bool steep) | |
void | print (const V &x) |
double | takeOptimalStep (V &x) |
bool | step (const S &Ab, V &x) |
Public Attributes | |
const Parameters & | parameters_ |
int | k |
iteration | |
bool | steepest |
flag to indicate we are doing steepest descent | |
V | g |
V | d |
gradient g and search direction d for CG | |
double | gamma |
double | threshold |
gamma (squared L2 norm of g) and convergence threshold | |
E | Ad |
Public Types | |
typedef ConjugateGradientParameters | Parameters |