469,949 Members | 2,680 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,949 developers. It's quick & easy.

Adding two arrays (element by element)


Starting to code a robust routine to add two arrays
element by element $new[0] = $a[0] + $b[0] ...
I thought that this should already be done
and searched CPAN for a sutiable module.
Despite Math:::Matrix I could not realy find much
and the ::Matrix module seemed to be more that
I needed...

The resulting array should have the length of the longest
and be robust to differences in length.

Is there a "best practice" solution to this?

Jul 19 '05 #1
0 4443

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by David | last post: by
34 posts views Thread by Adam Hartshorne | last post: by
5 posts views Thread by Troy | last post: by
1 post views Thread by Rob Griffiths | last post: by
29 posts views Thread by weaknessforcats | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.