Simple expression for the unit vector of length dim and with value 1 on index.
Inherits _expr< E, bool >.