Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix exponential #327

Open
bresch opened this issue May 15, 2023 · 0 comments
Open

Matrix exponential #327

bresch opened this issue May 15, 2023 · 0 comments
Assignees

Comments

@bresch
Copy link

bresch commented May 15, 2023

Is your feature request related to a problem? Please describe.
Hi, I would need to discretize a symbolic matrix using a matrix exponential. In the past I used the exp function of sympy and expm of Matlab to achieve that but I didn't find the SymForce equivalent.

If I try to use exp in Symforce, I'm getting TypeError: Cannot convert symengine.lib.symengine_wrapper.MutableDenseMatrix to symengine.lib.symengine_wrapper.Basic

I've made a python example here: https://colab.research.google.com/drive/1x1BN-DUQb8F9rMvE0oCUSt8zosEnxUZj?usp=sharing

Describe the solution you'd like
An exp function for square matrices

Describe alternatives you've considered
Converting the SymForce symbolic matrix to Sympy and use the sympy implementation.

@ryan-brott-skydio ryan-brott-skydio self-assigned this May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants