mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
511 B
511 B
Function sum
Compute the sum of a list of values In case of a (multi dimensional) array or matrix, the sum of all elements will be calculated.
sum(a, b, c, ...) sum(A)
Parameters
| Parameter | Type | Description |
|---|---|---|
args |
... * | A single matrix or or multiple scalar values |
Returns
| Type | Description |
|---|
- | res