dwavesystems / dwavesystems/dwave-optimization

Consider adding `Accumulate` symbol or similar

Open
#67 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.