gtsam 4.1.1
gtsam
gtsam::CGState< S, V, E > Struct Template Reference

Public Member Functions

 CGState (const S &Ab, const V &x, const Parameters &parameters, bool steep)
 
void print (const V &x)
 
double takeOptimalStep (V &x)
 
bool step (const S &Ab, V &x)
 

Public Attributes

const Parametersparameters_
 
int k
 iteration
 
bool steepest
 flag to indicate we are doing steepest descent
 
g
 
d
 gradient g and search direction d for CG
 
double gamma
 
double threshold
 gamma (squared L2 norm of g) and convergence threshold
 
Ad
 

Public Types

typedef ConjugateGradientParameters Parameters
 

The documentation for this struct was generated from the following file: