Package: arrApply 2.2

arrApply: Apply a Function to a Margin of an Array

High performance variant of apply() for a fixed set of functions. Considerable speedup of this implementation is a trade-off for universality: user defined functions cannot be used with this package. However, about 20 most currently employed functions are available for usage. They can be divided in three types: reducing functions (like mean(), sum() etc., giving a scalar when applied to a vector), mapping function (like normalise(), cumsum() etc., giving a vector of the same length as the input vector) and finally, vector reducing function (like diff() which produces result vector of a length different from the length of input vector). Optional or mandatory additional arguments required by some functions (e.g. norm type for norm()) can be passed as named arguments in '...'.

Authors:Serguei Sokol

arrApply_2.2.tar.gz
arrApply_2.2.zip(r-4.5)arrApply_2.2.zip(r-4.4)arrApply_2.2.zip(r-4.3)
arrApply_2.2.tgz(r-4.4-x86_64)arrApply_2.2.tgz(r-4.4-arm64)arrApply_2.2.tgz(r-4.3-x86_64)arrApply_2.2.tgz(r-4.3-arm64)
arrApply_2.2.tar.gz(r-4.5-noble)arrApply_2.2.tar.gz(r-4.4-noble)
arrApply_2.2.tgz(r-4.4-emscripten)arrApply_2.2.tgz(r-4.3-emscripten)
arrApply.pdf |arrApply.html
arrApply/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/sgsokol/arrapply/issues

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

On CRAN:

1 exports 1.11 score 2 dependencies 1 dependents 7 scripts 345 downloads

Last updated 8 months agofrom:2497c7a3a5. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 06 2024
R-4.5-win-x86_64NOTESep 06 2024
R-4.5-linux-x86_64NOTESep 06 2024
R-4.4-win-x86_64NOTESep 06 2024
R-4.4-mac-x86_64NOTESep 06 2024
R-4.4-mac-aarch64NOTESep 06 2024
R-4.3-win-x86_64NOTESep 06 2024
R-4.3-mac-x86_64NOTESep 06 2024
R-4.3-mac-aarch64NOTESep 06 2024

Exports:arrApply

Dependencies:RcppRcppArmadillo