| mvp-package {mvp} | R Documentation |
Fast Symbolic Multivariate Polynomials
Description
Fast manipulation of symbolic multivariate polynomials using the 'Map' class of the Standard Template Library. The package uses print and coercion methods from the 'mpoly' package (Kahle 2013, "Multivariate polynomials in R", The R Journal, 5(1):162), but offers speed improvements. It is comparable in speed to the 'spray' package for sparse arrays, but retains the symbolic benefits of 'mpoly'. To cite the package in publications, use Hankin 2022 <doi:10.48550/ARXIV.2210.15991>. Uses 'disordR' discipline.
Details
The DESCRIPTION file:
| Package: | mvp |
| Type: | Package |
| Title: | Fast Symbolic Multivariate Polynomials |
| Version: | 1.0-14 |
| Authors@R: | person(given=c("Robin", "K. S."), family="Hankin", role = c("aut","cre"), email="hankin.robin@gmail.com", comment = c(ORCID = "0000-0001-5982-0415")) |
| Depends: | methods,magrittr, mpoly (>= 1.1.0) |
| Suggests: | knitr,rmarkdown, microbenchmark,testthat,spray |
| VignetteBuilder: | knitr |
| Maintainer: | Robin K. S. Hankin <hankin.robin@gmail.com> |
| Description: | Fast manipulation of symbolic multivariate polynomials using the 'Map' class of the Standard Template Library. The package uses print and coercion methods from the 'mpoly' package (Kahle 2013, "Multivariate polynomials in R", The R Journal, 5(1):162), but offers speed improvements. It is comparable in speed to the 'spray' package for sparse arrays, but retains the symbolic benefits of 'mpoly'. To cite the package in publications, use Hankin 2022 <doi:10.48550/ARXIV.2210.15991>. Uses 'disordR' discipline. |
| License: | GPL (>= 2) |
| Imports: | Rcpp (>= 1.0-7), partitions, magic, digest, disordR (>= 0.9), numbers |
| LinkingTo: | Rcpp |
| URL: | https://github.com/RobinHankin/mvp |
| BugReports: | https://github.com/RobinHankin/mvp/issues |
| Author: | Robin K. S. Hankin [aut, cre] (<https://orcid.org/0000-0001-5982-0415>) |
Index of help topics:
Ops.mvp Arithmetic Ops Group Methods for 'mvp' objects
allvars All variables in a multivariate polynomial
as.function.mvp Functional form for multivariate polynomials
coeffs Functionality for 'coeffs' objects
constant The constant term
deriv Differentiation of 'mvp' objects
horner Horner's method
invert Replace symbols with their reciprocals
kahle A sparse multivariate polynomial
knight Chess knight
lose Drop empty variables
lowlevel Low level functions
mpoly Conversion to and from mpoly form
mvp Multivariate polynomials, mvp objects
mvp-package Fast Symbolic Multivariate Polynomials
ooom One over one minus a multivariate polynomial
print.mvp Print methods for 'mvp' objects
rmvp Random multivariate polynomials
series Decomposition of multivariate polynomials by
powers
special Various functions to create simple multivariate
polynomials
subs Substitution
summary Summary methods for mvp objects
zero The zero polynomial
Author(s)
NA
Maintainer: Robin K. S. Hankin <hankin.robin@gmail.com>
Examples
(p <- as.mvp("1+x+x*y+x^5"))
p + as.mvp("a+b^6")
p^3
subs(p^4,x="a+b^2")
aderiv(p^2,x=4)
horner(p,1:3)
[Package mvp version 1.0-14 Index]