opensim-org / opensim-core

SimTK OpenSim C++ libraries and command-line applications, and Java/Python wrapping.
https://opensim.stanford.edu
Apache License 2.0
801 stars 324 forks source link

Add sqrt and/or expression based OpenSim Function child class #3812

Closed cvhammond closed 2 months ago

cvhammond commented 5 months ago

Spoke to @nickbianco about adding a square root function, but also a general 'expression' based function could be valuable as well

cvhammond commented 3 months ago

Are there any plans to address this item? We have a journal manuscript that we will submit shortly that could use this feature.

nickbianco commented 3 months ago

@cvhammond we might be able to add this in an upcoming development sprint. How high of a priority is this for your manuscript?

cvhammond commented 3 months ago

We really need this feature, but we aren't able to wait for the manuscript submission for it. If this feature could be made available in the next month or so we can update the submission with the new results at revision to show better results.

nickbianco commented 3 months ago

@cvhammond, I am working on this now.

nickbianco commented 2 months ago

@cvhammond, this feature has now been merged. You can download a recent artifact from the "Actions" tab to give it a try.