47 throw std::invalid_argument(
"GaussianDensity can only be created from a conditional with no parents");
59 void print(
const std::string& =
"GaussianDensity",
void print(const Matrix &A, const string &s, ostream &stream)
const gtsam::Symbol key('X', 0)
GaussianDensity(const GaussianConditional &conditional)
Copy constructor from GaussianConditional.
Rot2 R(Rot2::fromAngle(0.1))
GaussianDensity(Key key, const Vector &d, const Matrix &R, const SharedDiagonal &noiseModel=SharedDiagonal())
constructor using d, R
static const KeyFormatter DefaultKeyFormatter
Point3 mean(const CONTAINER &points)
mean
const KeyFormatter & formatter
GaussianDensity()
default constructor needed for serialization
Conditional Gaussian Base class.
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
noiseModel::Diagonal::shared_ptr SharedDiagonal
std::shared_ptr< GaussianDensity > shared_ptr
static const double sigma
std::uint64_t Key
Integer nonlinear key type.