|
| BinaryJacobianFactor (Key key1, const Eigen::Matrix< double, M, N1 > &A1, Key key2, const Eigen::Matrix< double, M, N2 > &A2, const Eigen::Matrix< double, M, 1 > &b, const SharedDiagonal &model=SharedDiagonal()) |
| Constructor. More...
|
|
Key | key1 () const |
|
Key | key2 () const |
|
void | updateHessian (const KeyVector &infoKeys, SymmetricBlockMatrix *info) const override |
|
Matrix | augmentedInformation () const override |
|
Matrix | augmentedJacobian () const override |
|
Matrix | augmentedJacobianUnweighted () const |
|
GaussianFactor::shared_ptr | clone () const override |
|
size_t | cols () const |
|
std::pair< std::shared_ptr< GaussianConditional >, shared_ptr > | eliminate (const Ordering &keys) |
|
bool | equals (const GaussianFactor &lf, double tol=1e-9) const override |
| assert equality up to a tolerance More...
|
|
double | error (const VectorValues &c) const override |
|
Vector | error_vector (const VectorValues &c) const |
|
const SharedDiagonal & | get_model () const |
|
SharedDiagonal & | get_model () |
|
constABlock | getA (const_iterator variable) const |
|
constABlock | getA () const |
|
ABlock | getA (iterator variable) |
|
ABlock | getA () |
|
const constBVector | getb () const |
|
BVector | getb () |
|
DenseIndex | getDim (const_iterator variable) const override |
|
Vector | gradient (Key key, const VectorValues &x) const override |
| Compute the gradient wrt a key at any values. More...
|
|
VectorValues | gradientAtZero () const override |
| A'*b for Jacobian. More...
|
|
void | gradientAtZero (double *d) const override |
| A'*b for Jacobian (raw memory version) More...
|
|
std::map< Key, Matrix > | hessianBlockDiagonal () const override |
| Return the block diagonal of the Hessian for this factor. More...
|
|
void | hessianDiagonal (double *d) const override |
| Raw memory access version of hessianDiagonal. More...
|
|
void | hessianDiagonalAdd (VectorValues &d) const override |
| Add the current diagonal to a VectorValues instance. More...
|
|
Matrix | information () const override |
|
bool | isConstrained () const |
|
std::pair< Matrix, Vector > | jacobian () const override |
| Returns (dense) A,b pair associated with factor, bakes in the weights. More...
|
|
| JacobianFactor (const GaussianFactor &gf) |
|
| JacobianFactor (const JacobianFactor &jf) |
|
| JacobianFactor (const HessianFactor &hf) |
|
| JacobianFactor () |
|
| JacobianFactor (const Vector &b_in) |
|
| JacobianFactor (Key i1, const Matrix &A1, const Vector &b, const SharedDiagonal &model=SharedDiagonal()) |
|
| JacobianFactor (Key i1, const Matrix &A1, Key i2, const Matrix &A2, const Vector &b, const SharedDiagonal &model=SharedDiagonal()) |
|
| JacobianFactor (Key i1, const Matrix &A1, Key i2, const Matrix &A2, Key i3, const Matrix &A3, const Vector &b, const SharedDiagonal &model=SharedDiagonal()) |
|
template<typename TERMS > |
| JacobianFactor (const TERMS &terms, const Vector &b, const SharedDiagonal &model=SharedDiagonal()) |
|
template<typename KEYS > |
| JacobianFactor (const KEYS &keys, const VerticalBlockMatrix &augmentedMatrix, const SharedDiagonal &sigmas=SharedDiagonal()) |
|
| JacobianFactor (const GaussianFactorGraph &graph) |
|
| JacobianFactor (const GaussianFactorGraph &graph, const VariableSlots &p_variableSlots) |
|
| JacobianFactor (const GaussianFactorGraph &graph, const Ordering &ordering) |
|
| JacobianFactor (const GaussianFactorGraph &graph, const Ordering &ordering, const VariableSlots &p_variableSlots) |
|
std::pair< Matrix, Vector > | jacobianUnweighted () const |
| Returns (dense) A,b pair associated with factor, does not bake in weights. More...
|
|
const VerticalBlockMatrix & | matrixObject () const |
|
VerticalBlockMatrix & | matrixObject () |
|
void | multiplyHessianAdd (double alpha, const VectorValues &x, VectorValues &y) const override |
|
void | multiplyHessianAdd (double alpha, const double *x, double *y, const std::vector< size_t > &accumulatedDims) const |
|
GaussianFactor::shared_ptr | negate () const override |
|
Vector | operator* (const VectorValues &x) const |
|
void | print (const std::string &s="", const KeyFormatter &formatter=DefaultKeyFormatter) const override |
| print with optional string More...
|
|
size_t | rows () const |
|
void | setModel (bool anyConstrained, const Vector &sigmas) |
|
std::shared_ptr< GaussianConditional > | splitConditional (size_t nrFrontals) |
|
void | transposeMultiplyAdd (double alpha, const Vector &e, VectorValues &x) const |
|
Vector | unweighted_error (const VectorValues &c) const |
|
void | updateHessian (const KeyVector &keys, SymmetricBlockMatrix *info) const override |
|
JacobianFactor | whiten () const |
|
| ~JacobianFactor () override |
|
| GaussianFactor () |
|
template<typename CONTAINER > |
| GaussianFactor (const CONTAINER &keys) |
|
double | error (const HybridValues &c) const override |
|
VectorValues | hessianDiagonal () const |
| Return the diagonal of the Hessian for this factor. More...
|
|
virtual | ~Factor ()=default |
| Default destructor. More...
|
|
bool | empty () const |
| Whether the factor is empty (involves zero variables). More...
|
|
Key | front () const |
| First key. More...
|
|
Key | back () const |
| Last key. More...
|
|
const_iterator | find (Key key) const |
| find More...
|
|
const KeyVector & | keys () const |
| Access the factor's involved variable keys. More...
|
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
size_t | size () const |
|
virtual void | printKeys (const std::string &s="Factor", const KeyFormatter &formatter=DefaultKeyFormatter) const |
| print only keys More...
|
|
bool | equals (const This &other, double tol=1e-9) const |
| check equality More...
|
|
KeyVector & | keys () |
|
iterator | begin () |
|
iterator | end () |
|
template<int M, int N1, int N2>
struct gtsam::BinaryJacobianFactor< M, N1, N2 >
A binary JacobianFactor specialization that uses fixed matrix math for speed
Definition at line 33 of file BinaryJacobianFactor.h.