From ab1f1f27607fc9dfce015d503843e67a46df1acd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 18 Jan 2018 23:25:24 +0000 Subject: polexpr (18jan18) git-svn-id: svn://tug.org/texlive/trunk@46377 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/polexpr/README.md | 54 +- Master/texmf-dist/doc/latex/polexpr/polexpr.html | 820 +++++++++++++++++------ Master/texmf-dist/doc/latex/polexpr/polexpr.txt | 713 +++++++++++++++----- 3 files changed, 1218 insertions(+), 369 deletions(-) (limited to 'Master/texmf-dist/doc/latex/polexpr') diff --git a/Master/texmf-dist/doc/latex/polexpr/README.md b/Master/texmf-dist/doc/latex/polexpr/README.md index f5b45b5d23d..e6a1026e61c 100644 --- a/Master/texmf-dist/doc/latex/polexpr/README.md +++ b/Master/texmf-dist/doc/latex/polexpr/README.md @@ -22,8 +22,8 @@ This Work has the LPPL maintenance status author-maintained. The Author of this Work is Jean-François Burnol. -This Work consists of the package file polexpr.sty, this README.md and the -documentation file polexpr.txt. +This Work consists of the package file polexpr.sty, this README.md and +the documentation file polexpr.txt. Abstract -------- @@ -37,10 +37,10 @@ composition of functions) with standard operators, fractional numbers functions or other constructs as recognized by the `\xintexpr` numerical parser. -The polynomials are then not only genuine `\xintexpr` numerical -functions but additionally are also known to the package via their -coefficients. This allows dedicated macros to implement polynomial -algorithmics. +The polynomials are then not only genuine `\xintexpr` (and +`\xintfloatexpr`) numerical functions but additionally are known to the +package via their coefficients. This allows dedicated macros to +implement polynomial algorithmics. CHANGE LOG ---------- @@ -52,7 +52,6 @@ CHANGE LOG - Various utilities such as `\PolFromCSV`, `\PolMapCoeffs`, `\PolToCSV`, `\PolToExpr`, ... Only one-variable polynomials so far. - - v0.2 (2018/01/14) - Fix: `"README thinks \numexpr recognizes ^ operator"`. - Convert README to reStructuredText markup. @@ -64,4 +63,45 @@ CHANGE LOG - Convert README to (CTAN compatible) Markdown markup. Due to lack of available time the test suite might not be extensive enough. Bug reports are very welcome! +- v0.3 (2018/01/17) + - bug fixes: + - the `0.1` `\PolEval` accepted expressions for its second + argument, but this was removed by mistake at `0.2`. + Restored. + - incompatible or breaking changes: + - `\PolToExpr` now by default uses *descending* powers (it + also treats differently coefficients equal to 1 or -1.) Use + `\PolToExpr*` for *ascending* powers. + - `\PolEval` reduced the output to smallest terms, but as this is + costly with big fractions and not needed if e.g. wrapped in + an `\xintRound` or `\xintFloat`, this step has been removed; + the former meaning is available as `\PolEvalReduced`. + - new (or newly documented) macros: + - `\PolTypesetCmd` + - `\PolTypesetCmdPrefix`, + - `\PolTypesetMonomialCmd`, + - `\PolEvalReduced`, + - `\PolFloatEval`, + - `\PolToFloatExpr`, + - `\PolToExprOneTerm`, + - `\PolToFloatExprOneTerm`, + - `\PolToExprCmd`, + - `\PolToFloatExprCmd`, + - `\PolToExprTermPrefix`, + - `\PolToExprVar`, + - `\PolToExprTimes`. + - improvements: + - documentation has a table of contents, internal hyperlinks, + standardized signature notations and added explanations. + - one can do `\PolLet{g}={f}` or `\PolLet{g}{f}`. + - `\PolToExpr{f}` is highly customizable. + - `\poldef` and other defining macros prepare the polynomial + functions for usage within `\xintthefloatexpr` (or + `\xintdeffloatvar`). Coefficients are pre-rounded to the + floating point precision. Indispensible for numerical + algorithms, as exact fractions, even reduced, quickly become + very big. See the documentation about how to use the exact + polynomials also in floating point context. +- v0.3.1 (2018/01/18) + Fixes two typos in example code included in the documentation. diff --git a/Master/texmf-dist/doc/latex/polexpr/polexpr.html b/Master/texmf-dist/doc/latex/polexpr/polexpr.html index d5f3237a0b2..962771bdfa7 100644 --- a/Master/texmf-dist/doc/latex/polexpr/polexpr.html +++ b/Master/texmf-dist/doc/latex/polexpr/polexpr.html @@ -6,7 +6,7 @@ Package polexpr documentation