tBuLi / symfit

Symbolic Fitting; fitting as it should be.
http://symfit.readthedocs.org
MIT License
233 stars 17 forks source link

Printing of special function (bessel etc.) #236

Closed tBuLi closed 5 years ago

tBuLi commented 5 years ago

This SO question brought to light that special functions, like BesselJ etc, are not currently conferted to their scipy counterparts. This is because out SymfitNumpyPrinter inherits from NumpyPrinter, but special functions are a part of SciPyPrinter.

Therefore, we should consider switching, although the SciPyPrinter suffers from namespace issues because scipy itself sometimes does.