Package: ratioOfQsprays 1.1.0.9000

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.9000.tar.gz
ratioOfQsprays_1.1.0.9000.zip(r-4.5)ratioOfQsprays_1.1.0.9000.zip(r-4.4)ratioOfQsprays_1.1.0.9000.zip(r-4.3)
ratioOfQsprays_1.1.0.9000.tgz(r-4.4-x86_64)ratioOfQsprays_1.1.0.9000.tgz(r-4.4-arm64)ratioOfQsprays_1.1.0.9000.tgz(r-4.3-x86_64)ratioOfQsprays_1.1.0.9000.tgz(r-4.3-arm64)
ratioOfQsprays_1.1.0.9000.tar.gz(r-4.5-noble)ratioOfQsprays_1.1.0.9000.tar.gz(r-4.4-noble)
ratioOfQsprays_1.1.0.9000.tgz(r-4.4-emscripten)ratioOfQsprays_1.1.0.9000.tgz(r-4.3-emscripten)
ratioOfQsprays.pdf |ratioOfQsprays.html
ratioOfQsprays/json (API)
NEWS

# Install 'ratioOfQsprays' in R:
install.packages('ratioOfQsprays', repos = c('https://stla.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

On CRAN:

multivariate-polynomialspolynomialsrational-functions

4.73 score 2 packages 20 scripts 191 downloads 22 exports 59 dependencies

Last updated 4 months agofrom:c1e3578f25. Checks:OK: 9. Indexed: yes.

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

Exports:as.ratioOfQsprayschangeVariablesderivRatioOfQspraysdRatioOfQspraysevalRatioOfQspraysgetDenominatorgetNumeratorinvolvedVariablesisConstantisPolynomialisUnivariatenumberOfVariablespermuteVariablesratioOfQsprays_from_listrRatioOfQspraysshowRatioOfQspraysshowRatioOfQspraysOption<-showRatioOfQspraysX1X2X3showRatioOfQspraysXYZsubstituteRatioOfQsprayssubstituteSomeRatioOfQspraysswapVariables

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
Substitute the variables of a 'ratioOfQsprays' with some 'ratioOfQsprays'substituteSomeRatioOfQsprays
Swap variablesswapVariables swapVariables,ratioOfQsprays,numeric,numeric-method