Symbolic Computation and More with Multivariate Polynomials
Overview
Symbolic computing with multivariate polynomials in R.
New features
coef()allows you to extract the coefficients of an mpoly object (#25, thanks @ggrothendieck).deriv()now allows you to not bring the power down as a multiplier.normalize_coefficients()now allows you normalize term coefficients according to an input norm, defaulting to the Euclidean norm.as.function()methods are now exported.mpolyobjects now get a plot method (2 variables only).
From NEWS.md in the release
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: mpoly/tests/testthat/test-as-function-mpolylist.R (.Dim: 1) mpoly/tests/testthat/test-burst.R (.Dim: 2) mpoly/tests/testthat/test-components.R (.Names: 3) mpoly/tests/testthat/test-partitions.R (.Dim: 4) mpoly/tests/testthat/test-permutations.R (.Dim: 3) mpoly/tests/testthat/test-tuples.R (.Dim: 3) mpoly/man/plot.mpoly.Rd (.Names: 1) '.Dim' should be changed to 'dim'. '.Names' should be changed to 'names'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK14 OK2026-03-10
Documentation
- Help pages
- 43 (1 internal)includes a package overview page
- Examples that run
- 95%40 run in a plain check · 2 never run
- Exported functions with examples
- 100%
- Documented parameters
- 94%
- Return-value docs
- 97%
- Help pages citing references
- 2%
Downloads
Repository
- PRs merged (all time)
- 67%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/dkahle/mpoly on 2026-10-11.
GitHub Pages site last deployed 2025-06-09
Show all practicesHide 1 practice
Dependencies
Installing mpoly adds 38 packages (21 with compiled code, 33 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest2014-02-22 · current release · diff ↗ ·
removed 6 exports
as.function.mpoly, as.function.mpolyList, print.mpoly, print.mpolyList, reorder.mpoly, terms.mpoly - RR 3.0.0 released · 2013-04-03
- 2.15.32013-02-27 · diff ↗
Show 17 earlier eventsHide 17 earlier events
- 2.15.12012-05-01 · diff ↗ ·
added 26 exports
-.mpoly, -.mpolyList, +.mpoly, +.mpolyList, as.function.mpoly, as.function.mpolyList, burst, deriv.mpoly, gradient, grobner, insert, is.mpoly, is.mpolyList, is.wholenumber, LCM, mp, mpoly, mpolyList, partitions, permutations, print.mpoly, print.mpolyList, reorder.mpoly, terms.mpoly, tuples, vars - 1.1.2
- 1.1.12020-02-20 · diff ↗ ·
removed 1 export
grobneradded 5 exports
bernstein_approx, bezier_function, chebyshev_roots, eq_mp, lissajous - 1.1.0
- 1.0.5
- 1.0.42017-05-07 · diff ↗
- 1.0.32016-07-13 · diff ↗
- 1.0.22016-07-08 · diff ↗
- 1.0.12016-05-01 · diff ↗ ·
added 11 exports
LC, LM, LT, dehomogenize, exponents, homogeneous_components, homogenize, is.homogeneous, monomials, multideg, totaldeg - 1.0.02015-12-31 · diff ↗ ·
added 15 exports
bernstein, bernsteinApprox, bezier, bezierFunction, chebyshev, hermite, is.bernstein, is.bezier, is.chebyshev, is.constant, jacobi, laguerre, legendre, plug, swap - 0.1.02015-05-01 · diff ↗ ·
removed 5 exports
+.mpoly, +.mpolyList, -.mpoly, -.mpolyList, deriv.mpolyadded 1 export
is.linear - 0.0.52014-04-29 · diff ↗
- 0.0.42014-02-26 · diff ↗
- 0.0.32013-02-27 · diff ↗
- 0.0.2
- 0.0.12012-05-02
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2012-05-01
- Total releases
- 18 / 14 yrs
- License
- GPL-2 OSI · relicensed from MIT in 0.0.4
- Download size
- 1.8 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("mpoly")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.