2006/5/6, Frank Hirsch <0ffh / frankhirsch.net>:
> Mark Van Holstyn wrote:
>
> > alias :old_plus :+
> > both of the arguments to alias need to be symbols.
> > also, "old+" wont be a happy method name.
>
> Thanks alot!
>
> Actually I have already tried "alias :old+ :+",
> which gave a syntax error as well, but I didn't
> realise it was yet another one... ;-)

If you're not doing it for the fun of it: there are already vector and
matrix classes for Ruby plus libraries for manipulating them like
narray (see the RAA).

Kind regards

robert

--
Have a look: http://www.flickr.com/photos/fussel-foto/