The package PDL::Fit::Polynomial depends on Slatec, but that's silly because Slatec has its own polynomial fitter called polyfit. This means that I can't fit my data to a line unless I use PDL::Fit::Linfit, which does linear fitting for arbitrary functions.
This is particularly frustrating since a polynomial fitter is not too hard to implement by hand. In the very least, the documentation should point the user to PDL::Fit::Linfit as a Slatec-free option.
Log in to post a comment.