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 have been wanted to do this for a while. Given the recent improvement in JAX regarding custom derivatives, it is time to make this enhancement. Currently, kinetic_energy is defined as x.T @ M @ x, which has an analytical grad formula (we will use this instead of relying on grad). This is just a small optimization but would be useful for the dense_mass case.
The text was updated successfully, but these errors were encountered:
I have been wanted to do this for a while. Given the recent improvement in JAX regarding custom derivatives, it is time to make this enhancement. Currently,
kinetic_energy
is defined asx.T @ M @ x
, which has an analytical grad formula (we will use this instead of relying ongrad
). This is just a small optimization but would be useful for thedense_mass
case.The text was updated successfully, but these errors were encountered: