CTAN Comprehensive TeX Archive Network

New on CTAN: polexpr

Date: January 14, 2018 11:37:14 AM CET
Jean-François Burnol submitted the polexpr package. Version number: 0.1 License type: lppl1.3c Summary description: Provides a parser for polynomial expressions Announcement text:
This LaTeX package provides "\poldef": a parser of polynomial expressions based upon the "\xintdeffunc" mechanism of package xintexpr. The syntax is \poldef <name>(x):=<expression in variable x>; where in place of "x" an arbitrary letter is authorized. The expression uses the operations of algebra (including composition of functions) with standard operators, fractional numbers (possibly in scientific notation) and previously defined polynomial functions or other constructs as recognized by the \xintexpr numerical parser. The so-defined name() \xintexpr-function is also known to the package via its polynomial coefficients, thus allowing dedicated macros to implement polynomial algorithmics.
The package's Catalogue entry can be viewed at http://www.ctan.org/pkg/polexpr The package's files themselves can be inspected at http://mirror.ctan.org/macros/latex/contrib/polexpr
Thanks for the upload. For the CTAN Team Erik Braun
We are supported by the TeX users groups. Please join a users group; see http://www.tug.org/usergroups.html .

polexpr – A parser for polynomial expressions

The package provides a parser \poldef of algebraic polynomial expressions. As it is based on xintexpr, the coefficients are allowed to be arbitrary rational numbers.

Once defined, a polynomial is usable by its name either as a numerical function in \xintexpr/\xinteval, or for additional polynomial definitions, or as argument to the package macros. The localization of real roots to arbitrary precision as well as the determination of all rational roots is implemented via such macros.

Since release 0.8, polexpr extends the xintexpr syntax to recognize polynomials as a new variable type (and not only as functions). Functionality which previously was implemented via macros such as the computation of a greatest common divisor is now available directly in \xintexpr, \xinteval or \poldef via infix or functional syntax.

Packagepolexpr
Version0.8.7a 2022-05-19
Copyright2018–2022 Jean-François Burnol
MaintainerJean-François Burnol

Announcements

more

Guest Book Sitemap Contact Contact Author