12 #include <gtsam_unstable/dllexport.h> 44 const std::vector<size_t>&
dims()
const {
return dims_; }
54 size_t dim()
const override {
return rowDim_; }
57 std::shared_ptr<GaussianFactor> linearize(
const Values&
c)
const override;
void print(const Matrix &A, const string &s, ostream &stream)
NonlinearFactor::shared_ptr clone() const override
double error(const Values &c) const override
static const KeyFormatter DefaultKeyFormatter
size_t dim() const override
size_t rowDim_
choose dimension for the rows
const Symbol key1('v', 1)
std::vector< size_t > dims_
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
const std::vector< size_t > & dims() const
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Non-linear factor base classes.
std::shared_ptr< This > shared_ptr
std::uint64_t Key
Integer nonlinear key type.
const Symbol key2('v', 2)