Defined and undefined matrix operations