You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on implementing Linear Model Predictive Control for a robotics project (https://github.com/qhdwight/mpc-rs). As I do that I am generating some ideas for ease of use functions that numpy/scipy have already. Specifically with regards to concatenating together matrices.
I'm working on implementing Linear Model Predictive Control for a robotics project (https://github.com/qhdwight/mpc-rs). As I do that I am generating some ideas for ease of use functions that numpy/scipy have already. Specifically with regards to concatenating together matrices.
vstack/hstack: https://numpy.org/doc/stable/reference/generated/numpy.vstack.html
block_diag: https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.block_diag.html
Here is a sample implementation:
Bonus would be implementing the from trait for
Matrix
->DMatrix
, e.g. here is what I use right now:The text was updated successfully, but these errors were encountered: