48 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)
static const double sigma
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
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Conditional Gaussian Base class.
noiseModel::Diagonal::shared_ptr SharedDiagonal
boost::shared_ptr< GaussianDensity > shared_ptr
std::uint64_t Key
Integer nonlinear key type.