| 1 |
Revision history for Math-Utils |
| 2 |
|
| 3 |
1.14 |
| 4 |
10 Apr 2020 |
| 5 |
- Add the function softmax(). Currently in the :utility tag |
| 6 |
group, which may be too generic. We'll see what else gets |
| 7 |
added later and adjust the tagging then. |
| 8 |
- New functions uniform_scaling(), and uniform_01scaling(), |
| 9 |
contributed by Gene Boggs (GENE). |
| 10 |
- Typo found by Miguel Prz (NICEPERL) fixed. |
| 11 |
|
| 12 |
1.13 |
| 13 |
30 Oct 2018 |
| 14 |
- Add function pl_translate(), by request. |
| 15 |
- Turn README into README.md. With MetaCPAN replacing CPAN, |
| 16 |
there is no reason to have a plain-text README anymore |
| 17 |
(MetaCPAN doesn't treat the file as special). |
| 18 |
- Add a CONTRIBUTING.md file, which is becoming a thing. |
| 19 |
- New test file for pl_translate(), and upgrade test files |
| 20 |
that for some reason were still using Test::Simple to Test::More. |
| 21 |
- Added an :all tag. Why not. |
| 22 |
1.12 |
| 23 |
26 Jun 2018 |
| 24 |
- Typo found by Florian Schlichting fixed. |
| 25 |
- Add gcd() and lcm() functions. |
| 26 |
- New example scripts (a couple transferred over from |
| 27 |
Math::Polynomial::Solve) in the new eg/ directory. |
| 28 |
1.11 |
| 29 |
11 Aug 2017 |
| 30 |
- Stupidly depended on Module::Start's boilerplate text for the |
| 31 |
license, which points to a differently worded license text |
| 32 |
from what I've got in the LICENSE file. Changed that. |
| 33 |
1.10 |
| 34 |
10 May 2017 |
| 35 |
- Extended pl_evaluate() to allow lists of values for the X terms. |
| 36 |
Lists may be of values or of ARRAY refs. |
| 37 |
- Added tests in 16-evaluate.t for the list cases. |
| 38 |
1.09 |
| 39 |
11 May 2016 |
| 40 |
- New function fsum(), using Kahan's summation algorithm. |
| 41 |
- Added tests in 17-derivative-eval.t to check for the |
| 42 |
linear polynomial and the constant-only polynomial. |
| 43 |
(They passed, but until now those cases hadn't been tested.) |
| 44 |
- Extend the documentation for pl_div(), emphasizing the |
| 45 |
need to remove leading zeros. |
| 46 |
1.08 |
| 47 |
24 Feb 2016 |
| 48 |
- Inlined the comparison functions of generate_relational(). |
| 49 |
- Default tolerance was just under square root of (an) epsilon, |
| 50 |
changed to to just over. |
| 51 |
- Updated 01-compare.t to test edge cases. |
| 52 |
- Added a log2() function, because why not. |
| 53 |
1.07 |
| 54 |
23 Nov 2015 |
| 55 |
- Search using grep.cpan.me indicated that floor() and ceil() |
| 56 |
functions weren't defined in general-purpose modules (and |
| 57 |
the modules they were in were pretty heavy-weight). Decided |
| 58 |
to add them to the module. |
| 59 |
- Repeated modulus of a number was worth making into |
| 60 |
utility function moduli(). |
| 61 |
1.06 |
| 62 |
7 Oct 2015 |
| 63 |
- The if statements were laid out in generate_fltcmp in |
| 64 |
a way that could return a -1 (less than) when the two |
| 65 |
values were actually equal within tolerance. Changed this. |
| 66 |
- Renamed some test files so that the compare test comes |
| 67 |
first. |
| 68 |
1.05 |
| 69 |
25 Sep 2015 |
| 70 |
- Bug in pl_derivative() for linear equation case. |
| 71 |
- Added test cases to cover it. |
| 72 |
1.04 |
| 73 |
20 Sep 2015 |
| 74 |
- I had bumped the version number everywhere but in the module |
| 75 |
itself. This will probably complicate something, so |
| 76 |
fix this everywhere with a version 1.04. |
| 77 |
- Add a flipsign() function to the :utility list. |
| 78 |
- More documention clean-up. Mention Math::VecStat |
| 79 |
in the SEE ALSO. |
| 80 |
1.03 |
| 81 |
18 Sep 2015 |
| 82 |
- Put :fortran tagged functions copysign() and log10() |
| 83 |
in the :utility tagging. The :fortran tag sticks around |
| 84 |
though. |
| 85 |
- New function pl_dxevaluate() for returning the y, dy, |
| 86 |
d2y values of the polynomial at x. |
| 87 |
- New test files for pl_evaluate() and pl_dxevaluate(). |
| 88 |
1.02 |
| 89 |
15 Sep 2015 |
| 90 |
- Documentation error in pl_div() (mis-named variables |
| 91 |
in the example). |
| 92 |
- Extended the SEE ALSO paragraph. |
| 93 |
- Very minor code clean-up in pl_antiderivative(). |
| 94 |
1.01 |
| 95 |
5 Sep 2015 |
| 96 |
- I had left test file 15-objcoeff.t off the MANIFEST list. Oops. |
| 97 |
- Embarrassing number of grammatical and spelling errors fixed. |
| 98 |
- Clarified a couple of examples, and extended the |
| 99 |
pl_antiderivative() documentation with respect to the |
| 100 |
constant term. |
| 101 |
- Version bump; up to CPAN. |
| 102 |
1.00 |
| 103 |
3 Sep 2015 |
| 104 |
- Added the coefficient list functions for addition, subtraction, |
| 105 |
division, multiplication, derivative, antiderivative, |
| 106 |
and evaluation (via Horner's method) of polynomials without |
| 107 |
actually creating a polynomial object. |
| 108 |
- Added the tests for the above operations. |
| 109 |
0.02 |
| 110 |
30 Aug 2015 |
| 111 |
- CPAN testers caught a 5.10ism in the module, which is |
| 112 |
listed as okay for version 5.8. Decided to bump the |
| 113 |
minimum version requirement to 5.10.1. |
| 114 |
- Documentation was sketchy, so added more descriptive |
| 115 |
text and examples. |
| 116 |
- Version bump; up to CPAN. |
| 117 |
0.01 |
| 118 |
18 Aug 2015 |
| 119 |
- Collection of utility functions for Math modules, starting |
| 120 |
with the functions of Math-Fortran as a base. |
| 121 |
|