sum()
Returns the sum
Syntax
y = sum(x)
Arguments
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| x | data to find sum | (-∞, ∞) | integer, real or complex | yes |
Examples
a = sum([1, 2, 3])
returns 6
Defined in
Built in
See Also
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()