struct mrpt::graphs::ScalarFactorGraph::UnaryFactorVirtualBase¶
Simple, scalar (1-dim) constraint (edge) for a GMRF.
#include <mrpt/graphs/ScalarFactorGraph.h> struct UnaryFactorVirtualBase: public mrpt::graphs::ScalarFactorGraph::FactorBase { // fields size_t node_id; // methods virtual void evalJacobian(double& dr_dx) const = 0; }; // direct descendants struct TObservationGMRF; struct TObservationGMRF;
Methods¶
virtual void evalJacobian(double& dr_dx) const = 0
Returns the derivative of the residual wrt the node value.