Is there a name for linear transformations $A$ for which $n^{*} A n$ is constant for all unit vectors $n$?
The expression looks like the first fundamental form, if $A$ is symmetric, of course.
These are surprisingly non-obvious, the answer depending strongly on dimension. In $R^2$, they are just the rotations. In $R^3$, they are rotations with a scaling in the axial direction by the cosine of the angle of rotation.
In $R^3$ another class of solution consists of rotations of multiples of the case I mentioned in the original post:
$$ \begin{matrix} c & 0 & 0 \\ 0 & c & s \\ 0 & -s & c \\ \end{matrix} $$ where $c^2 + s^2 = 1$.
It was this example that first got my attention.