The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Math::Polynomial::Generic - history of a discontinued module

REMOVAL NOTICE

Math::Polynomial::Generic was an extension of Math::Polynomial that did not make it into a permanent release.

It had been declared experimental and its interface as not to be taken for granted. The intention was to give users more expressive flexibility through a kind of polynomial object that was not bound to a particular coefficient space.

This experiment turned out as a failure. Coefficient spaces need to be specified at one point, and delaying this part of proper initialization did more harm than good in terms of clarity.

Therefore, Math::Polynomial::Generic was removed from the Math-Polynomial distribution after a two-stage deprecation period.

Technically, before its actual removal it was replaced by an empty module in order to neutralize incompatible code in older versions.

MIGRATION

Old code still using this module can easily be fixed.

Instead of the symbol X, a variable $X that is initialized as Math::Polynomial->new($zero, $one) with appropriate coefficient values $zero and $one can be used.

C($coeff) can be replaced by Math::Polynomial->new($coeff) or it can be defined locally as a small wrapper for the same.

SEE ALSO

  Math::Polynomial

AUTHOR

Martin Becker, <becker-cpan-mp@cozap.com>

LICENSE AND COPYRIGHT

Copyright (c) 2009-2017 by Martin Becker. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6 or, at your option, any later version of Perl 5 you may have available.

DISCLAIMER OF WARRANTY

This module is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.