dwavesystems / dwavesystems/dwave-optimization
Consider adding `Accumulate` symbol or similar
Open
enhancement
- Dominant language
- C++
- Stars
- 31
- Forks
- 36
- Avg merge
- 16h 55m
- Merged PRs (30d)
- 8
Description
See [numpy.ufunc.accumulate()](https://numpy.org/doc/stable/reference/generated/numpy.ufunc.accumulate.html) and [numpy.cumsum()](https://numpy.org/doc/stable/reference/generated/numpy.cumsum.html).
```python
In [9]: x = np.ones(5)
In [10]: np.add.accumulate(x)
Out[10]: array([1., 2., 3., 4., 5.])
```
Contributor guide
Assessment
This issue has not been assessed yet.