Package: ratioOfQsprays 1.1.0

Stéphane Laurent

ratioOfQsprays: Fractions of Multivariate Polynomials with Rational Coefficients

Based on the 'qspray' package, this package introduces the new type 'ratioOfQsprays'. An object of type 'qspray' represents a multivariate polynomial with rational coefficients while an object of type 'ratioOfQsprays', defined by two 'qspray' objects, represents a fraction of two multivariate polynomials with rational coefficients. Arithmetic operations for these objects are available, and they always return irreducible fractions. Other features include: differentiation, evaluation, conversion to a function, and fine control of the way to print a 'ratioOfQsprays' object. The 'C++' library 'CGAL' is used to make the fractions irreducible.

Authors:Stéphane Laurent [aut, cre]

ratioOfQsprays_1.1.0.tar.gz
ratioOfQsprays_1.1.0.tar.gz(r-4.5-noble)ratioOfQsprays_1.1.0.tar.gz(r-4.4-noble)
ratioOfQsprays_1.1.0.tgz(r-4.4-emscripten)ratioOfQsprays_1.1.0.tgz(r-4.3-emscripten)
ratioOfQsprays.pdf |ratioOfQsprays.html
ratioOfQsprays/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/stla/ratioofqsprays/issues

Uses libs:
  • gmp– Multiprecision arithmetic library
  • c++– GNU Standard C++ Library v3

3.08 score 2 packages 20 scripts 311 downloads 21 exports 59 dependencies

Last updated 3 months agofrom:f35c1c0468. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKSep 27 2024
R-4.5-linux-x86_64OKSep 27 2024

Exports:as.ratioOfQsprayschangeVariablesderivRatioOfQspraysdRatioOfQspraysevalRatioOfQspraysgetDenominatorgetNumeratorinvolvedVariablesisConstantisPolynomialisUnivariatenumberOfVariablespermuteVariablesratioOfQsprays_from_listrRatioOfQspraysshowRatioOfQspraysshowRatioOfQspraysOption<-showRatioOfQspraysX1X2X3showRatioOfQspraysXYZsubstituteRatioOfQspraysswapVariables

Dependencies:askpassBHbootcellrangerclassclicpp11crayoncurldata.tableDescToolse1071ExactexpmfansigldgluegmphmshttrjsonlitelatticelifecyclelmommagrittrMASSmathjaxrMatrixmimemvtnormopensslpartitionspillarpkgconfigpolynomprettyunitsprogressproxypurrrqsprayR6RationalMatrixrbibutilsRcppRcppCGALRcppEigenRdpackreadxlrematchrlangrootSolverstudioapiRyacassetssystibbleutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Ratio of multivariate polynomials as functionas.function.ratioOfQsprays
Coercion to a 'ratioOfQsprays' objectas.ratioOfQsprays as.ratioOfQsprays,bigq-method as.ratioOfQsprays,bigz-method as.ratioOfQsprays,character-method as.ratioOfQsprays,numeric-method as.ratioOfQsprays,qspray-method as.ratioOfQsprays,ratioOfQsprays-method
Change of variables in a 'ratioOfQsprays' fraction of polynomialschangeVariables changeVariables,ratioOfQsprays,list-method
Partial derivativederivRatioOfQsprays
Partial differentiationdRatioOfQsprays
Evaluate a 'ratioOfQsprays' objectevalRatioOfQsprays
Get the denominator of a 'ratioOfQsprays'getDenominator
Get the numerator of a 'ratioOfQsprays'getNumerator
Variables involved in a 'ratioOfQsprays'involvedVariables involvedVariables,ratioOfQsprays-method
Whether a 'ratioOfQsprays' is constantisConstant isConstant,ratioOfQsprays-method
Whether a 'ratioOfQsprays' is polynomialisPolynomial
Whether a 'ratioOfQsprays' is univariateisUnivariate isUnivariate,ratioOfQsprays-method
Number of variables in a 'ratioOfQsprays'numberOfVariables numberOfVariables,ratioOfQsprays-method
Permute variablespermuteVariables permuteVariables,ratioOfQsprays,numeric-method
(internal) Make a 'ratioOfQsprays' object from a listratioOfQsprays_from_list
Unary operators for 'ratioOfQsprays' objects+,ratioOfQsprays,missing-method -,ratioOfQsprays,missing-method ratioOfQsprays-unary
Random 'ratioOfQsprays'rRatioOfQsprays
Print a 'ratioOfQsprays' objectshowRatioOfQsprays
Set a show option to a 'ratioOfQsprays'showRatioOfQspraysOption<-
Print a 'ratioOfQsprays'showRatioOfQspraysX1X2X3
Print a 'ratioOfQsprays'showRatioOfQspraysXYZ
Partial evaluation of a 'ratioOfQsprays' fraction of polynomialssubstituteRatioOfQsprays
Swap variablesswapVariables swapVariables,ratioOfQsprays,numeric,numeric-method