dwavesystems / dwave-optimization

Enables the formulation of nonlinear models for industrial optimization problems.
https://docs.ocean.dwavesys.com/en/stable/docs_optimization/index.html#index-optimization
Apache License 2.0
7 stars 18 forks source link

Consider adding `Stack` symbol or similar #46

Open arcondello opened 4 months ago

arcondello commented 4 months ago

Something like https://numpy.org/doc/stable/reference/generated/numpy.stack.html

arcondello commented 1 month ago

Upon further review, what we actually want is a np.concatenate equivalent. I believe stack(..) is just concatenate(...) followed by a reshape(...).