Package: qspray 3.1.0

Stéphane Laurent

qspray: Multivariate Polynomials with Rational Coefficients

Symbolic calculation and evaluation of multivariate polynomials with rational coefficients. This package is strongly inspired by the 'spray' package. It provides a function to compute Gröbner bases (reference <doi:10.1007/978-3-319-16721-3>). It also includes some features for symmetric polynomials, such as the Hall inner product. The header file of the C++ code can be used by other packages. It provides the templated class 'Qspray' that can be used to represent and to deal with multivariate polynomials with another type of coefficients.

Authors:Stéphane Laurent [aut, cre], Robin Hankin [ctb, cph]

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

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

Peer review:

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

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

gmpcpp

4.36 score 5 packages 152 scripts 288 downloads 54 exports 66 dependencies

Last updated 5 months agofrom:de0d34734a. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 25 2024
R-4.5-linux-x86_64OKDec 25 2024

Exports:as.qspraychangeVariablescharacteristicPolynomialcollinearQsprayscompactSymmetricQspraycomposeQsprayCSHFpolyderivQspraydQsprayESFpolyevalQspraygetCoefficientgetConstantTermgroebnerHallInnerProductimplicitizationintegratePolynomialOnSimplexinvolvedVariablesisConstantisHomogeneousQsprayisPolynomialOfisQoneisQzeroisSymmetricQsprayisUnivariateleadingCoefficientleadingTermMSFpolyMSPcombinationnumberOfTermsnumberOfVariablesorderedQspraypermuteVariablesprettyQsprayPSFpolyPSPcombinationPSPexpressionqdivisionqloneqoneqspray_from_listqsprayDivisionqsprayMakerqzerorQsprayshowMonomialOldshowMonomialX1X2X3showMonomialXYZshowQsprayshowQsprayOption<-showQsprayX1X2X3showQsprayXYZsubstituteQsprayswapVariables

Dependencies:askpassBHbitbit64bootcellrangerclassclicliprcpp11crayoncurldata.tableDescToolse1071ExactexpmfansiforcatsgldgluegmphavenhmshttrjsonlitelatticelifecyclelmommagrittrMASSmathjaxrMatrixmimemvtnormopensslpartitionspillarpkgconfigpolynomprettyunitsprogressproxypurrrR6RationalMatrixrbibutilsRcppRcppEigenRdpackreadrreadxlrematchrlangrootSolverstudioapiRyacassetssystibbletidyselecttzdbutf8vctrsvroomwithr

Readme and manuals

Help Manual

Help pageTopics
Multivariate polynomial as functionas.function.qspray
Coercion to a 'qspray' objectas.qspray as.qspray,bigq-method as.qspray,bigz-method as.qspray,character-method as.qspray,numeric-method as.qspray,qspray-method
Change of variables in a 'qspray' polynomialchangeVariables changeVariables,qspray,list-method
Characteristic polynomialcharacteristicPolynomial
Whether two 'qspray' polynomials are collinearcollinearQsprays
Compact symmetric qspraycompactSymmetricQspray compactSymmetricQspray,qspray,ANY-method compactSymmetricQspray,qspray,logical-method compactSymmetricQspray,qspray-method
Compose 'qspray' polynomialscomposeQspray
Complete homogeneous symmetric functionCSHFpoly
Partial derivativederivQspray
Partial differentiationdQspray
Elementary symmetric polynomialESFpoly
Evaluate a 'qspray' objectevalQspray
Get a coefficient in a 'qspray' polynomialgetCoefficient getCoefficient,qspray,numeric-method
Get the constant term of a 'qspray' polynomialgetConstantTerm getConstantTerm,qspray-method
Gröbner basisgroebner
Hall inner productHallInnerProduct
Implicitization with Gröbner basesimplicitization
Integral of a multivariate polynomial over a simplexintegratePolynomialOnSimplex
Variables involved in a 'qspray' polynomialinvolvedVariables involvedVariables,qspray-method
Whether a 'qspray' polynomial is constantisConstant isConstant,qspray-method
Whether a 'qspray' polynomial is homogeneousisHomogeneousQspray
Whether a 'qspray' is a polynomial of some given 'qsprays'isPolynomialOf
Whether a 'qspray' polynomial is the unit polynomialisQone isQone,qspray-method
Whether a 'qspray' polynomial is nullisQzero isQzero,qspray-method
Check symmetry of a polynomialisSymmetricQspray
Whether a 'qspray' is univariateisUnivariate isUnivariate,qspray-method
Leading coefficient of a 'qspray' polynomialleadingCoefficient
Leading term of a 'qspray' polynomialleadingTerm
Monomial symmetric functionMSFpoly
Symmetric polynomial in terms of the monomial symmetric polynomialsMSPcombination
Number of terms in a 'qspray' polynomialnumberOfTerms numberOfTerms,qspray-method
Number of variables in a 'qspray' polynomialnumberOfVariables numberOfVariables,qspray-method
Ordered 'qspray'orderedQspray
Permute variablespermuteVariables permuteVariables,qspray,numeric-method
Pretty polynomialprettyQspray
Power sum polynomialPSFpoly
Symmetric polynomial as a linear combination of some power sum polynomialsPSPcombination
Symmetric polynomial in terms of the power sum polynomialsPSPexpression
Division of a qspray polynomialqdivision
Polynomial variableqlone
The unit 'qspray' polynomialqone
(internal) Make a 'qspray' object from a listqspray_from_list
Unary operators for qspray objects+,qspray,missing-method -,qspray,missing-method qspray-unary
Division of two polynomialsqsprayDivision
Make a 'qspray' objectqsprayMaker
The null 'qspray' polynomialqzero
Random 'qspray'rQspray
Print a monomialshowMonomialOld
Print a monomialshowMonomialX1X2X3
Print a monomialshowMonomialXYZ
Print a 'qspray' objectshowQspray
Set a show option to a 'qspray' objectshowQsprayOption<-
Print a 'qspray' objectshowQsprayX1X2X3
Print a polynomialshowQsprayXYZ
Substitutions in a 'qspray' polynomialsubstituteQspray
Swap variablesswapVariables swapVariables,qspray,numeric,numeric-method