Go to the documentation of this file.
28 template<
size_t D,
size_t ZDim>
45 Matrix zeroMatrix = Matrix::Zero(0,
D);
46 Vector zeroVector = Vector::Zero(0);
47 std::vector<KeyMatrix> QF;
48 QF.reserve(
keys.size());
70 size_t numKeys = Enull.rows() /
ZDim;
71 size_t m2 =
ZDim * numKeys - 3;
77 std::vector<KeyMatrix> QF;
79 for (
size_t k = 0; k < Fblocks.size(); ++k) {
82 key, (Enull.transpose()).block(0,
ZDim * k,
m2,
ZDim) * Fblocks[k]);
JacobianFactorSVD()
Default constructor.
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
void fillTerms(const TERMS &terms, const Vector &b, const SharedDiagonal &noiseModel)
Internal function to fill blocks and set dimensions.
JacobianFactorSVD(const KeyVector &keys, const SharedDiagonal &model=SharedDiagonal())
Empty constructor with keys.
Eigen::Matrix< double, ZDim, D > MatrixZD
STL compatible allocator to use with types requiring a non standrad alignment.
JacobianFactor class with fixed sized blcoks.
noiseModel::Diagonal::shared_ptr SharedDiagonal
static const int ZDim
Measurement dimension (Point2)
JacobianFactorSVD(const KeyVector &keys, const std::vector< MatrixZD, Eigen::aligned_allocator< MatrixZD > > &Fblocks, const Matrix &Enull, const Vector &b, const SharedDiagonal &model=SharedDiagonal())
Construct a new JacobianFactorSVD object, createing a reduced-rank Jacobian factor on the CameraSet.
noiseModel::Diagonal::shared_ptr model
const gtsam::Symbol key('X', 0)
RegularJacobianFactor< D > Base
const KeyVector & keys() const
Access the factor's involved variable keys.
The matrix class, also used for vectors and row-vectors.
std::uint64_t Key
Integer nonlinear key type.
std::pair< Key, Matrix > KeyMatrix
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:34