35 template <
class... Args>
void add(Args &&...
args) {
36 emplace_shared<LinearEquality>(std::forward<Args>(
args)...);
41 double total_error = 0.;
44 total_error += factor->error(x);
52 EqualityFactorGraph> {
LinearEquality derived from Base with constrained noise model.
void add(Args &&... args)
Add a linear inequality, forwards arguments to LinearInequality.
std::shared_ptr< EqualityFactorGraph > shared_ptr
std::shared_ptr< LinearEquality > sharedFactor
Shared pointer to a factor.
double error(const VectorValues &x) const
Compute error of a guess.
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