It's not on purpose. It is just that it hasn't been implemented yet. It would be great if you could open a pull request with such a method.
You might also want to define a special type for C+λI such that you can avoid creating a new matrix but it is probably better to experiment with such a type in a package until we know how it should work. On Wednesday, October 12, 2016 at 3:13:22 AM UTC-4, cciliber wrote: > > Hi, > > I am new to Julia and I was trying to learn it by doing some basic linear > algebra workout : ) > > I was trying to compute the matrix (C + lambda * I), where C is Symmetric > and I is the uniform scaling. However apparently the sum operator for these > two object is not defined. I was wondering if there is a reason for that or > I can write the corresponding method for my modules. > > Thanks in advance! > Carlo >