GaussianFactor.cpp
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
19 // \callgraph
20 
24 
25 namespace gtsam {
26 
27 double GaussianFactor::error(const VectorValues& c) const {
28  throw std::runtime_error("GaussianFactor::error is not implemented");
29 }
30 
31 double GaussianFactor::error(const HybridValues& c) const {
32  return this->error(c.continuous());
33 }
34 
38  return d;
39 }
40 
41 } // namespace gtsam
gtsam::HybridValues
Definition: HybridValues.h:37
gtsam::GaussianFactor::error
virtual double error(const VectorValues &c) const
Definition: GaussianFactor.cpp:27
d
static const double d[K][N]
Definition: igam.h:11
c
Scalar Scalar * c
Definition: benchVecAdd.cpp:17
gtsam::HybridValues::continuous
const VectorValues & continuous() const
Return the multi-dimensional vector values.
Definition: HybridValues.cpp:54
gtsam::GaussianFactor::hessianDiagonal
VectorValues hessianDiagonal() const
Return the diagonal of the Hessian for this factor.
Definition: GaussianFactor.cpp:35
gtsam::VectorValues
Definition: VectorValues.h:74
VectorValues.h
Factor Graph Values.
gtsam::GaussianFactor::hessianDiagonalAdd
virtual void hessianDiagonalAdd(VectorValues &d) const =0
Add the current diagonal to a VectorValues instance.
gtsam
traits
Definition: SFMdata.h:40
GaussianFactor.h
A factor with a quadratic error function - a Gaussian.
HybridValues.h


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:19