AguaClara / aguaclara_research

a python package containing research tools for AguaClara
MIT License
1 stars 4 forks source link

root finding using functions that have units #14

Open monroews opened 6 years ago

monroews commented 6 years ago

Would it be possible to wrap the SciPy root finding methods https://docs.scipy.org/doc/scipy-0.18.1/reference/optimize.html#root-finding so that they could handle units? The ability to easily do root finding with our functions with often be useful and currently it is a hassle to have to strip the units from the functions. I'm hoping there is an elegant way to do this.