Go to the documentation of this file.
38 using Sample = std::pair<double, double>;
51 template <
class Basis>
Linear Factor Graph where all factors are Gaussians.
std::shared_ptr< This > shared_ptr
shared_ptr to this class
static GaussianFactorGraph::shared_ptr LinearGraph(const Sequence &sequence, const SharedNoiseModel &model, size_t N)
Create linear FG from Sequence.
typename Basis::Parameters Parameters
Factor for enforcing the scalar value of the polynomial BASIS representation at x is the same as the ...
std::map< double, double > Sequence
Our sequence representation is a map of {x: y} values where y = f(x)
std::pair< double, double > Sample
A sample is a key-value pair from a sequence.
Compute an interpolating basis.
Factor definitions for various Basis functors.
noiseModel::Base::shared_ptr SharedNoiseModel
noiseModel::Diagonal::shared_ptr model
Factor Graph consisting of non-linear factors.
FitBasis(const Sequence &sequence, const SharedNoiseModel &model, size_t N)
Construct a new FitBasis object.
static NonlinearFactorGraph NonlinearGraph(const Sequence &sequence, const SharedNoiseModel &model, size_t N)
Create nonlinear FG from Sequence.
NonlinearFactorGraph graph
Parameters parameters() const
Return Fourier coefficients.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:17