spray_cpp

0th

Percentile

Low-level functions that call C++ source code

Low-level functions that call C++ source code, as detailed in the automatically generated RcppExports.R file.

Keywords
symbolmath
Usage
spray_maker(M, d)
spray_add(M1, d1, M2, d2)
spray_mult(M1, d1, M2, d2)
spray_overwrite(M1, d1, M2, d2)
spray_accessor(M, d, Mindex)
spray_setter(M1, d1, M2, d2)
spray_equality(M1, d1, M2, d2)
spray_asum_include(M,d,n)
spray_asum_exclude(M,d,n)
spray_deriv(M,d,n)
spray_pmax(M1,d1,M2,d2)
spray_pmin(M1,d1,M2,d2)
spray_power(M,d,pow)
spray_spray_accessor()
spray_spray_add()
spray_spray_asum_exclude()
spray_spray_asum_include()
spray_spray_deriv()
spray_spray_equality()
spray_spray_maker()
spray_spray_mult()
spray_spray_overwrite()
spray_spray_pmax()
spray_spray_pmin()
spray_spray_setter()
spray_spray_power()
Arguments
M,M1,M2,Mindex

Integer valued matrices with rows corresponding to array indices

d,d1,d2

Vector of values corresponding to nonzero array entries

n

Integer vector corresponding to dimensions to sum over for the sum functions

pow

Nonnegative integer for spray_power()

Value

These functions return a two-element list which is coerced to an object of class spray by function spraymaker().

Note

These functions aren't really designed for the end-user.

Function spray_equality() cannot simply check for equality of $value because the order of the index rows is not specified in a spray object. Function spray_crush() has been removed as it is redundant.

See Also

spraymaker,spray

Aliases
  • spray_rcpp
  • spray_accessor
  • spray_add
  • spray_crush
  • spray_maker
  • spray_mult
  • spray_overwrite
  • spray_setter
  • spray_equality
  • spray_asum_include
  • spray_asum_exclude
  • spray_deriv
  • spray_pmax
  • spray_pmin
  • spray_power
  • 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_setter
  • spray_spray_power
Documentation reproduced from package spray, version 1.0-8, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.