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 '...'.

Version: 2.2
Imports: Rcpp (≥ 0.12.0)
LinkingTo: Rcpp, RcppArmadillo
Suggests: testthat
Published: 2023-01-10
DOI: 10.32614/CRAN.package.arrApply
Author: Serguei Sokol
Maintainer: Serguei Sokol <sokol at insa-toulouse.fr>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
SystemRequirements: C++11
Materials: NEWS
CRAN checks: arrApply results

Documentation:

Reference manual: arrApply.pdf

Downloads:

Package source: arrApply_2.2.tar.gz
Windows binaries: r-devel: arrApply_2.2.zip, r-release: arrApply_2.2.zip, r-oldrel: arrApply_2.2.zip
macOS binaries: r-release (arm64): arrApply_2.2.tgz, r-oldrel (arm64): arrApply_2.2.tgz, r-release (x86_64): arrApply_2.2.tgz, r-oldrel (x86_64): arrApply_2.2.tgz
Old sources: arrApply archive

Reverse dependencies:

Reverse imports: bspline

Linking:

Please use the canonical form https://CRAN.R-project.org/package=arrApply to link to this page.