GTSAM  4.0.2
C++ library for smoothing and mapping (SAM)
Public Types | Public Member Functions | Public Attributes | List of all members
gtsam::CGState< S, V, E > Struct Template Reference
Collaboration diagram for gtsam::CGState< S, V, E >:
Collaboration graph
[legend]

Public Types

typedef ConjugateGradientParameters Parameters
 

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
 

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