Ellipsoids and matrix-valued valuations