CRAN/E | arrApply

arrApply

Apply a Function to a Margin of an Array

Installation

About

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

System requirements C++11

Key Metrics

Version 2.2
Published 2023-01-10 443 days ago
Needs compilation? yes
License GPL-2
License GPL-3
CRAN checks arrApply results

Downloads

Yesterday 18 +125%
Last 7 days 84 -16%
Last 30 days 365 +6%
Last 90 days 1.212 +15%
Last 365 days 4.571 -9%

Maintainer

Maintainer

Serguei Sokol

sokol@insa-toulouse.fr

Authors

Serguei Sokol

Material

NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

arrApply archive

Imports

Rcpp ≥ 0.12.0

Suggests

testthat

LinkingTo

Rcpp
RcppArmadillo

Reverse Imports

bspline