I\'m still a beginner with Julia, so apologies for the OOP terminology.
Let X and Y be two user-defined matrices with an element type of
X
Y