revised comments
parent
a17696298d
commit
efc264d8ee
|
|
@ -229,6 +229,9 @@ namespace gtsam {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* error value 0.5 * v'*R'*R*v
|
||||||
|
*/
|
||||||
inline virtual double error(const Vector& v) const {
|
inline virtual double error(const Vector& v) const {
|
||||||
return 0.5 * squaredMahalanobisDistance(v);
|
return 0.5 * squaredMahalanobisDistance(v);
|
||||||
}
|
}
|
||||||
|
|
@ -478,7 +481,7 @@ namespace gtsam {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distance function for a constrained noisemodel,
|
* The error function for a constrained noisemodel,
|
||||||
* for non-constrained versions, uses sigmas, otherwise
|
* for non-constrained versions, uses sigmas, otherwise
|
||||||
* uses the penalty function with mu
|
* uses the penalty function with mu
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue