SciPy's complex erf code is not free/open-source? (Trac #1741) #2260
Labels
defect
A clear bug or issue that prevents SciPy from being installed or used as expected
Migrated from Trac
scipy.special
Milestone
Original ticket http://projects.scipy.org/scipy/ticket/1741 on 2012-10-05 by trac user stevenj, assigned to @pv.
The complex error function implementation in SciPy seems to use the subroutine WOFZ published in ACM Transactions on Mathematical Software (TOMS):
https://github.com/scipy/scipy/blob/master/scipy/special/toms/wofz.f
ACM TOMS code is generally NOT free/open-source software: it falls under the ACM Software copyright (http://www.acm.org/publications/policies/softwarecrnotice) which is free-of-charge only for noncommercial use.
I came across this because I was looking for a free/open-source complex erf routine to use in our own code; we originally wanted to use the TOMS code, but reluctantly concluded that it was unusable because of licensing. As an alternative, I wrote an independent implementation of another algorithm (which seems to be a bit more accurate than WOFZ) and released it as free/open-source software: http://ab-initio.mit.edu/wiki/index.php/Faddeeva_w
The text was updated successfully, but these errors were encountered: