Package: spray 1.0-26

spray: Sparse Arrays and Multivariate Polynomials

Sparse arrays interpreted as multivariate polynomials. Uses 'disordR' discipline (Hankin, 2022, <doi:10.48550/ARXIV.2210.03856>). To cite the package in publications please use Hankin (2022) <doi:10.48550/ARXIV.2210.10848>.

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

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

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

Peer review:

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

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

6.66 score 2 stars 4 packages 35 scripts 424 downloads 106 exports 22 dependencies

Last updated 2 months agofrom:c8571eb0c4. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-win-x86_64OKOct 25 2024
R-4.5-linux-x86_64OKOct 25 2024
R-4.4-win-x86_64OKOct 25 2024
R-4.4-mac-x86_64OKOct 25 2024
R-4.4-mac-aarch64OKOct 25 2024
R-4.3-win-x86_64OKOct 25 2024
R-4.3-mac-x86_64OKOct 25 2024
R-4.3-mac-aarch64OKOct 25 2024

Exports:aderivarityas.array.sprayas.character.sprayas.function.sprayas.idas.id.sprayas.sprayasumasum_invertedasum.spraycoeffscoeffs.spraycoeffs<-coeffs<-.sprayconstantconstant.sprayconstant<-constant<-.sprayderivderiv.spraydim.spraydrophomogindexis_valid_sprayis.constantis.emptyis.sprayis.zerokingknightlength.spraylinearlonemaxpair_sprayminpair_sprayntermsoneooomOps.spraypmaxpmax.defaultpmax.spraypminpmin.defaultpmin.sprayprint_spray_matrixformprint_spray_polyformprint.sprayprint.summary.sprayprintedvalueprocess_dimensionsproductrsprayrsprayysprayspray_accessorspray_addspray_asum_excludespray_asum_includespray_derivspray_eq_numericspray_eq_sprayspray_equalityspray_extract_disordspray_makerspray_missing_accessorspray_multspray_negativespray_overwritespray_plus_scalarspray_plus_sprayspray_pmaxspray_pminspray_powerspray_power_scalarspray_power_scalar_stlaspray_power_stlaspray_replace_disordspray_setterspray_spray_accessorspray_spray_addspray_spray_asum_excludespray_spray_asum_includespray_spray_derivspray_spray_equalityspray_spray_makerspray_spray_multspray_spray_overwritespray_spray_pmaxspray_spray_pminspray_spray_powerspray_spray_setterspray_times_scalarspray_times_sprayspraycrossspraycross2spraymakersubssummarysummary.sprayxyzzapzapsmallzero

Dependencies:abindclidigestdisordRgluegmplatticelifecyclemagicmagrittrmathjaxrMatrixpartitionspolynomrbibutilsRcppRdpackrlangsetsstringistringrvctrs

A vignette for the spray package

Rendered fromspray.Rnwusingutils::Sweaveon Oct 25 2024.

Last update: 2023-12-30
Started: 2018-11-21

Readme and manuals

Help Manual

Help pageTopics
Sparse arrays and multivariate polynomialsspray-package
The arity of a spray objectarity
Coerce spray objects to arraysas.array as.array.spray dim.spray
Coerce spray objects to characteras.character as.character.spray
Coerce a spray object to a functionas.function.spray
Sum over dimension marginsasum asum.spray asum_inverted process_dimensions
Get or set the constant term of a spray objectconst constant constant,spray-method constant.spray constant<- constant<-,spray-method constant<-.spray drop drop,spray-method is.constant is.scalar scalar
Partial differentiation of spray objectsaderiv deriv deriv.spray
Extract or Replace Parts of a sprayextract extract.spray replace replace.spray spray_extract_disord spray_replace_disord [.spray [<-.spray
Various functions to create simple spray objectsas.id as.id.spray homog linear lone one product xyz
Generating function for a chess knight and kingchess_knight king knight
Number of nonzero terms in a 'spray' objectlength length.spray nterms
One-over-one-minus for spray objectsooom
Arithmetic Ops Group Methods for spraysOps Ops.spray spray_eq_numeric spray_eq_spray spray_negative spray_plus_scalar spray_plus_spray spray_power_scalar spray_power_scalar_stla spray_times_scalar spray_times_spray
Parallel maxima and minima for spraysmaxpair_spray minpair_spray pmax pmax.default pmax.spray pmin pmin.default pmin.spray
Print methods for spray objectsprint.spray printedvalue print_spray_matrixform print_spray_polyform sprayvars
Random spray objectsrspray rsprayy
Sparse arrays: 'spray' objectsas.spray coeff coeffs coeffs,spray-method coeffs.spray coeffs<- coeffs<-,spray-method coeffs<-.spray index is.spray is_valid_spray spray spraymaker value value,spray-method value.spray value<- value<-.spray values
Low-level functions that call C++ source codespray_accessor spray_add spray_asum_exclude spray_asum_include spray_crush spray_deriv spray_equality spray_maker spray_mult spray_overwrite spray_pmax spray_pmin spray_power spray_power_stla spray_rcpp spray_setter spray_spray_accessor spray_spray_add spray_spray_asum_exclude spray_spray_asum_include spray_spray_crush spray_spray_deriv spray_spray_equality spray_spray_maker spray_spray_mult spray_spray_overwrite spray_spray_pmax spray_spray_pmin spray_spray_power spray_spray_setter
Discussion documentspray_missing_accessor
Class "spray"spray-class
Cross product for spray objectscross cross_product spraycross spraycross2
Substitute values into a spray objectsubs substitute
Summaries of spray objectsprint.summary.spray summary summary.spray
Zap small values in a spray objectzap zap.spray zapsmall zapsmall,ANY-method zapsmall,spray-method zapsmall.spray zaptiny
The zero polynomialempty is.empty is.zero zero