sum(1)

NAME
sum - sum of vector/matrix entries

CALLING SEQUENCE
[y]=sum(x)

PARAMETERS

x   : vector or matrix (real, complex or polynomial)

y   : scalar or vector

DESCRIPTION
For a vector or a matrix x , sum(x) is the sum of all its entries.

SEE ALSO
prod