np_cumsum
Compute the cumulative sum of array elements along a given axis, or flatten the array.
Instructions
Return the cumulative sum of the array along a given axis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array | Yes | The input array. | |
| axis | No | The axis along which to compute cumsum (default: None, flattened). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |