161 const Vector& trig,
const Vector& q);
174 const Vector& trig,
const Vector& q);
Ellipsoid representation.
Definition codac2_Ellipsoid.h:43
BoolInterval is_concentric_subset(const Ellipsoid &e) const
Test if the provided ellipsoid is a subset of this ellipsoid, provided that the two ellipsoids share ...
Ellipsoid(const Vector &mu, const Matrix &G)
Create an ellipsoid from a center and a shape matrix.
Vector rand() const
Return a random vector inside this ellipsoid.
Matrix G
shape matrix
Definition codac2_Ellipsoid.h:106
Index size() const
Return the dimension of the ellipsoid.
Ellipsoid proj_2d(const Vector &d, const Vector &v, const Vector &u) const
Project the ellipsoid on the 2d plane (d,v,u)
Vector mu
midpoint vector
Definition codac2_Ellipsoid.h:105
IntervalVector hull_box() const
Compute the tightest axis-aligned box containing this ellipsoid.
Ellipsoid(Index n)
Create a n-dimensional ellipsoid.
std::ostream & operator<<(std::ostream &os, const BoolInterval &x)
Streams out a BoolInterval.
Definition codac2_BoolInterval.h:45
BoolInterval
Enumeration representing a boolean interval.
Definition codac2_BoolInterval.h:23
Ellipsoid unreliable_linear_mapping(const Ellipsoid &e, const Matrix &A, const Vector &b)
Nonrigorous linear evaluation A*e+b.
Matrix nonlinear_mapping_base(const Matrix &G, const Matrix &J, const IntervalMatrix &J_box, const Vector &trig, const Vector &q)
(Rigorous?) non-linear evaluation f(e), from Jacobian information
Ellipsoid operator+(const Ellipsoid &e1, const Ellipsoid &e2)
Compute the Minkowski sum of two ellipsoids.
Ellipsoid linear_mapping(const Ellipsoid &e, const Matrix &A, const Vector &b)
Guaranteed linear evaluation A*e+b, considering the rounding errors.
Ellipsoid nonlinear_mapping(const Ellipsoid &e, const AnalyticFunction< VectorType > &f)
(Rigorous?) non-linear evaluation f(e)