GTSAM
4.0.2
C++ library for smoothing and mapping (SAM)
|
#include <iterative.h>
Public Member Functions | |
System (const Matrix &A, const Vector &b) | |
const Matrix & | A () const |
const Vector & | b () const |
Vector | operator^ (const Vector &e) const |
void | print (const std::string &s="System") const |
Vector | gradient (const Vector &x) const |
Vector | operator* (const Vector &x) const |
void | multiplyInPlace (const Vector &x, Vector &e) const |
void | transposeMultiplyAdd (double alpha, const Vector &e, Vector &x) const |
Helper class encapsulating the combined system |Ax-b_|^2 Needed to run Conjugate Gradients on matrices
|
inline |
Access A matrix
|
inline |
Access b vector
|
inline |
gradient of objective function 0.5*|Ax-b_|^2 at x = A_'*(Ax-b_)
|
inline |
Apply operator A in place
|
inline |
Apply operator A
|
inline |
Apply operator A'*e
void gtsam::System::print | ( | const std::string & | s = "System" | ) | const |
Print with optional string
|
inline |
x += alpha* A'*e