Closed
Description
Currently adding e.g. two Symmetric matrices together results in a regular array. It would seem appropriate to add special methods:
- S + S = S
- S + D = S
- S + STD = S
- H + H = H
- H + D{Real} = H
- H + S{Real} = H
- H + STD{Real} = S
I hope I haven't made any mistakes with the above...
If that proposal is accepted, would the following style of definition be ok?
+(A::Symmetric,B::Symmetric) = Symmetric(A+B)