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 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-18 |
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: | R (>= 4.1.0), methods |
Suggests: | knitr, rmarkdown, microbenchmark, testthat, spray, magrittr, covr |
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 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-7), numbers, mpoly (>= 1.1.0), |
LinkingTo: | Rcpp |
URL: | https://github.com/RobinHankin/mvp, https://robinhankin.github.io/mvp/ |
BugReports: | https://github.com/RobinHankin/mvp/issues |
LazyData: | FALSE |
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 all_equal_mvp Approximate equality of 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 drop Drop empty variables horner Horner's method invert Replace symbols with their reciprocals kahle A sparse multivariate polynomial knight Chess knight letters Single-letter symbols 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)
Robin K. S. Hankin [aut, cre] (<https://orcid.org/0000-0001-5982-0415>)
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-18 Index]