An ellipsoid is an affine transform of a sphere.
Alternatively, a subset is called an ellipsoid if there exists , and symmetric positive-semi-definite, such that
The is called the center of the ellipsoid, and the is called the quadratic form matrix of the ellipsoid. This is a closed ellipsoid; an open ellipsoid is defined with the condition .