40 public Conditional<JacobianFactor, GaussianConditional>
71 template<
typename TERMS>
73 size_t nrFrontals,
const Vector& d,
80 template<
typename KEYS>
99 const Vector& b,
double sigma);
102 template<
typename... Args>
104 return std::make_shared<This>(FromMeanAndStddev(std::forward<Args>(
args)...));
114 template<
typename ITERATOR>
115 static shared_ptr
Combine(ITERATOR firstConditional, ITERATOR lastConditional);
123 const std::string& =
"GaussianConditional",
137 double logNormalizationConstant()
const override;
203 std::mt19937_64* rng)
const;
261 double logProbability(
const HybridValues& x)
const override;
269 using Conditional::operator();
275 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION 277 friend class boost::serialization::access;
278 template<
class Archive>
279 void serialize(Archive & ar,
const unsigned int ) {
280 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(BaseFactor);
281 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(BaseConditional);
void print(const Matrix &A, const string &s, ostream &stream)
const gtsam::Symbol key('X', 0)
std::shared_ptr< This > shared_ptr
shared_ptr to this class
Base class for conditional densities.
Conditional< BaseFactor, This > BaseConditional
Typedef to our conditional base class.
double error(const VectorValues &c) const override
std::string serialize(const T &input)
serializes to a string
double logDeterminant(const typename BAYESTREE::sharedClique &clique)
Rot2 R(Rot2::fromAngle(0.1))
JacobianFactor BaseFactor
Typedef to our factor base class.
double determinant() const
Compute the determinant of the R matrix.
Conditional Gaussian Base class.
const constBVector d() const
static const KeyFormatter DefaultKeyFormatter
const KeyFormatter & formatter
Included from all GTSAM files.
EIGEN_DEVICE_FUNC const ExpReturnType exp() const
constABlock::ConstColXpr constBVector
GaussianConditional This
Typedef to this class.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
std::shared_ptr< This > shared_ptr
shared_ptr to this class
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
static shared_ptr sharedMeanAndStddev(Args &&... args)
Create shared pointer by forwarding arguments to fromMeanAndStddev.
noiseModel::Diagonal::shared_ptr SharedDiagonal
Expression of a fixed-size or dynamic-size block.
constABlock S(const_iterator it) const
static const double sigma
double operator()(const VectorValues &x) const
Evaluate probability density, sugar.
KeyVector::const_iterator const_iterator
Const iterator over keys.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
std::uint64_t Key
Integer nonlinear key type.