sum
sum(f, dims=None)
Compute the sum of the Function data over specified dimensions. Defaults to sum over all dimensions
Parameters
Name | Type | Description | Default |
---|---|---|---|
f | Function | Input Function. | required |
dims | Dimension or tuple of Dimension | Dimensions to sum over. | None |