reverse: Reverse elements

Description Usage Arguments Value Author(s) Examples

View source: R/C.R

Description

This function takes a numeric vector and returns a reversed version of this vector. The internal computation is via C.

Usage

1

Arguments

x

a numeric vector

Value

a numeric vector (reversed x)

Author(s)

Jacques Rioux <http://jariou.github.io/>

Examples

1
2
reverse(c(1, 9.3, 8.2, 4.33))
reverse(1:10)

jariou/MachCalc documentation built on March 1, 2020, 2:38 a.m.