theorem
Hex.Matrix.row_diagMatrix_cast
{R : Type u}
[Lean.Grind.Semiring R]
{r n m : Nat}
(d : Vector R r)
(hrn : r ≤ n)
(hrm : r ≤ m)
(i : Fin r)
:
A represented row of a diagonal matrix is the corresponding scalar multiple of an ambient unit vector.