arrApply: Apply a Function to a Margin of an Array

High performance variant of apply() for a fixed set of functions. Considerable speedup is a trade-off for universality, user defined functions cannot be used with this package. However, 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() or normalise() functions) can be passed as named arguments in '...'.

AuthorSerguei Sokol
Date of publication2016-11-10 17:09:31
MaintainerSerguei Sokol <sokol@insa-toulouse.fr>
LicenseGPL (>= 2)
Version2.0.1

View on CRAN

Files

arrApply
arrApply/tests
arrApply/tests/testthat.R
arrApply/tests/testthat
arrApply/tests/testthat/test_arrApply.R
arrApply/src
arrApply/src/Makevars
arrApply/src/arrApply.cpp
arrApply/src/RcppExports.cpp
arrApply/NAMESPACE
arrApply/NEWS
arrApply/R
arrApply/R/RcppExports.R
arrApply/MD5
arrApply/DESCRIPTION
arrApply/man
arrApply/man/arrApply.Rd
arrApply/cleanup

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.