28 throw std::runtime_error(
"GaussianFactor::error is not implemented");
A factor with a quadratic error function - a Gaussian.
const VectorValues & continuous() const
Return the multi-dimensional vector values.
VectorValues hessianDiagonal() const
Return the diagonal of the Hessian for this factor.
virtual void hessianDiagonalAdd(VectorValues &d) const =0
Add the current diagonal to a VectorValues instance.
virtual double error(const VectorValues &c) const