Package: mvp 1.0-18

mvp: Fast Symbolic Multivariate Polynomials

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.

Authors:Robin K. S. Hankin [aut, cre]

mvp_1.0-18.tar.gz
mvp_1.0-18.zip(r-4.5)mvp_1.0-18.zip(r-4.4)mvp_1.0-18.zip(r-4.3)
mvp_1.0-18.tgz(r-4.4-x86_64)mvp_1.0-18.tgz(r-4.4-arm64)mvp_1.0-18.tgz(r-4.3-x86_64)mvp_1.0-18.tgz(r-4.3-arm64)
mvp_1.0-18.tar.gz(r-4.5-noble)mvp_1.0-18.tar.gz(r-4.4-noble)
mvp_1.0-18.tgz(r-4.4-emscripten)mvp_1.0-18.tgz(r-4.3-emscripten)
mvp.pdf |mvp.html
mvp/json (API)
NEWS

# Install 'mvp' in R:
install.packages('mvp', repos = c('https://robinhankin.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/robinhankin/mvp/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • a - Single-letter symbols
  • b - Single-letter symbols
  • c - Single-letter symbols
  • d - Single-letter symbols
  • e - Single-letter symbols
  • f - Single-letter symbols
  • g - Single-letter symbols
  • h - Single-letter symbols
  • i - Single-letter symbols
  • j - Single-letter symbols
  • k - Single-letter symbols
  • l - Single-letter symbols
  • m - Single-letter symbols
  • n - Single-letter symbols
  • o - Single-letter symbols
  • p - Single-letter symbols
  • q - Single-letter symbols
  • r - Single-letter symbols
  • s - Single-letter symbols
  • t - Single-letter symbols
  • u - Single-letter symbols
  • v - Single-letter symbols
  • w - Single-letter symbols
  • x - Single-letter symbols
  • y - Single-letter symbols
  • z - Single-letter symbols

On CRAN:

6.94 score 8 stars 2 packages 36 scripts 332 downloads 1 mentions 89 exports 52 dependencies

Last updated 3 months agofrom:ffad10cd16. Checks:OK: 8 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-win-x86_64OKNov 01 2024
R-4.5-linux-x86_64OKNov 01 2024
R-4.4-win-x86_64NOTENov 01 2024
R-4.4-mac-x86_64OKNov 01 2024
R-4.4-mac-aarch64OKNov 01 2024
R-4.3-win-x86_64OKNov 01 2024
R-4.3-mac-x86_64OKNov 01 2024
R-4.3-mac-aarch64OKNov 01 2024

Exports:aderivaderiv.mvpallvarsas.function.mvpas.mpoly.mvpas.mvpas.mvp.characteras.mvp.listas.mvp.mpolyas.mvp.mvpas.mvp.numericcoeffscoeffs.mvpcoeffs<-coeffs<-.mvpconstantconstant.mvpconstant.numericconstant<-constant<-.mvpderivderiv.mvpdropdrop_mvphomoghornerinvertis_ok_mvpis.constantis.mvpis.zerois.zero.mvpkahleknightlapplylinearmpoly_to_mvpmvpmvp_addmvp_derivmvp_eq_mvpmvp_modulomvp_negativemvp_plus_mvpmvp_plus_numericmvp_powermvp_power_scalarmvp_prodmvp_substitutemvp_substitute_mvpmvp_taylor_allvarsmvp_taylor_onepower_onevarmvp_taylor_onevarmvp_times_mvpmvp_times_scalarmvp_to_seriesmvp_vectorised_substitutenamechangerntermsnumeric_to_mvponevarpowooomOps.mvppowersprint.mvpprint.seriesprint.summary.mvpproductrhmvprmvprmvpprmvppprtypicalseriessimplifysortsubssubsmvpsubsysubvecsummary.mvptaylortrunctrunc1truncallvarchangevarchange_formalvarsxyz

Dependencies:abindclicolorspacecpp11digestdisordRdplyrfansifarvergenericsggplot2gluegmpgtableisobandlabelinglatticelifecyclemagicmagrittrMASSmathjaxrMatrixmgcvmpolymunsellnlmenumbersorthopolynompartitionspillarpkgconfigplyrpolynompurrrR6rbibutilsRColorBrewerRcppRdpackrlangscalessetsstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

The mvp package: fast multivariate polynomials in R

Rendered frommvp.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2024-03-04
Started: 2018-11-30

Readme and manuals

Help Manual

Help pageTopics
Fast Symbolic Multivariate Polynomialsmvp-package
All variables in a multivariate polynomialallvars
Functional form for multivariate polynomialsas.function.mvp
Functionality for 'coeffs' objects%~% accessors as_coeffs coefficients coeffs coeffs.mvp coeffs<- coeffs<-.mvp consistent hash is.coeffs Ops.coeffs Ops.mvp_coeffs powers print.coeffs print.mvp_coeffs vars
The constant termconstant constant.mvp constant.numeric constant<- constant<-.mvp is.constant
Differentiation of 'mvp' objectsaderiv aderiv.mvp aderiv_mvp deriv deriv.mvp deriv_mvp
Drop empty variablesdrop drop,mvp-method drop_mvp lose lose.mvp
Horner's methodhorner
Replace symbols with their reciprocalsinvert
A sparse multivariate polynomialkahle
Chess knightknight knight_mvp
Single-letter symbolsa b c d e f g h i j k l letters lettersymbols m n o p q r s t u v w x y z
Low level functionslowlevel mvp_add mvp_deriv mvp_power mvp_prod mvp_substitute mvp_substitute_mvp mvp_vectorised_substitute mvp_vectorized_substitute simplify
Conversion to and from mpoly formas.mpoly.mvp mpoly mpoly_to_mvp mvp_to_mpoly
Multivariate polynomials, mvp objectsas.mvp as.mvp.character as.mvp.list as.mvp.mpoly as.mvp.mvp as.mvp.numeric is.mvp is_ok_mvp mvp mvp-class
One over one minus a multivariate polynomialooom
Arithmetic Ops Group Methods for 'mvp' objectsmvp_eq_mvp mvp_modulo mvp_negative mvp_plus_mvp mvp_plus_numeric mvp_plus_scalar mvp_power_scalar mvp_times_mvp mvp_times_scalar Ops Ops.mvp
Print methods for 'mvp' objectsprint.mvp print_mvp
Random multivariate polynomialsrhmvp rmvp rmvpp rmvppp
Decomposition of multivariate polynomials by powersmvp_taylor_allvars mvp_taylor_onepower_onevar mvp_taylor_onevar mvp_to_series onevarpow print.series series taylor trunc trunc1 truncall
Various functions to create simple multivariate polynomialshomog linear numeric_to_mvp product special xyz
Substitutionmvp_subs_mvp namechanger subs subsmvp substitute subsy subs_mvp subvec varchange varchange_formal
Summary methods for mvp objectsnterms print.summary.mvp rtypical summary summary.mvp
The zero polynomialis.zero is.zero.mvp zero zero.mvp