16 template<
typename CAMERA>
17 class DummyFactor:
public RegularImplicitSchurFactor<CAMERA> {
43 for(
const KeyMatrix2D& Fi: this->Fblocks_) {
46 std::pair<VectorValues::iterator, bool> it = y.
tryInsert(key, empty);
47 Vector& yi = it.first->second;
const gtsam::Symbol key('X', 0)
bool empty() const
Whether the factor is empty (involves zero variables).
DummyFactor(const std::vector< KeyMatrix2D > &Fblocks, const Matrix &E, const Matrix3 &P, const Vector &b)
std::pair< Key, Matrix2D > KeyMatrix2D
std::pair< iterator, bool > tryInsert(Key j, const Vector &value)
Eigen::Matrix< double, 2, CAMERA::dimension > Matrix2D
A subclass of GaussianFactor specialized to structureless SFM.
void multiplyHessian(double alpha, const VectorValues &x, VectorValues &y) const
Dummy version to measure overhead of key access.
The matrix class, also used for vectors and row-vectors.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
std::uint64_t Key
Integer nonlinear key type.