environmentalscience / essm

This package contains helpers to deal with physical variables and units.
https://environmentalscience.github.io/essm/
GNU General Public License v2.0
12 stars 5 forks source link

Added functions to substitute symbols and values for variables. #31

Closed schymans closed 7 years ago

schymans commented 7 years ago

To make it easier to perform numerical operations on equations, I added functions to utils that help replacing variables in equations by symbols and/or values without units.

schymans commented 7 years ago

Looks good, thanks! I just modified one of the tests to include a symbol in the output of replace_variables().