Abstract

Adds elements for N arrays and returns the resultant array.

Signature


Function

add(arr, arr, ...)


Returns

return
returns an array of the summation of elements across the input arrays.

Arguments

arr
input array(s)

Details

xxx

Examples

   1 >>> from numpy import *
   2 >>> add(array([-1.2, 1.2]), array([1,3]))
   3 array([-0.2,  4.2])
   4 >>> array([-1.2, 1.2]) + array([1,3])
   5 array([-0.2,  4.2])

Notes

xxx

See Also

xxx

add (last edited 2008-03-21 10:45:10 by DieterHering)