NArray scalar addition and subtraction

Discussion in 'Ruby' started by Brian Schröder, Nov 28, 2004.

  1. Hello Group,

    I noticed that NArray has scalar multiplication and division, but addition and subtraction are only defined on matrices. What is the reason not to include addition and subtraction?

    Regards,

    Brian

    --
    Brian Schröder
    http://www.brian-schroeder.de/
     
    Brian Schröder, Nov 28, 2004
    #1
    1. Advertising

  2. On Mon, 29 Nov 2004 05:01:41 +0900
    Brian Schröder <> wrote:

    > Hello Group,
    >
    > I noticed that NArray has scalar multiplication and division, but addition and subtraction are only defined on matrices. What is the reason not to include addition and subtraction?
    >


    Ooops, just found the add! method. So disregard this. Sorry for the noise.

    --
    Brian Schröder
    http://www.brian-schroeder.de/
     
    Brian Schröder, Nov 28, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andy
    Replies:
    34
    Views:
    1,396
    Kelsey Bjarnason
    Jan 1, 2004
  2. Daniel Mark
    Replies:
    9
    Views:
    12,537
    Simon Brunning
    Sep 19, 2006
  3. Zunaster
    Replies:
    1
    Views:
    100
    Harry
    Mar 1, 2007
  4. Clint Olsen
    Replies:
    6
    Views:
    376
    Jeff 'japhy' Pinyan
    Nov 13, 2003
  5. Mark

    Replace scalar in another scalar

    Mark, Jan 27, 2005, in forum: Perl Misc
    Replies:
    4
    Views:
    171
    Arndt Jonasson
    Jan 27, 2005
Loading...

Share This Page