boyfarrell
Registered
Hi everyone,
I think I remember reading somewhere that it's impossible to overload + * - / operators in objective-c. Just thought I'd check it out.
(It would make my Vector class easier to read etc if I could have a MATLAB type functionality,C = A .* B for Vectors. At them moment it's something like [myVectorC equalsVector: myVectorA multiplyBy: myVectorB]
I think I remember reading somewhere that it's impossible to overload + * - / operators in objective-c. Just thought I'd check it out.
(It would make my Vector class easier to read etc if I could have a MATLAB type functionality,C = A .* B for Vectors. At them moment it's something like [myVectorC equalsVector: myVectorA multiplyBy: myVectorB]