c_test: R frontend of the C function bar

Description Usage Arguments Details Value Examples

View source: R/c_test.R

Description

A mask function to test if the dummy C code in src/bar.c works.

Usage

1
c_test(x)

Arguments

x

a numeric vector

Details

c_test(x) = x^2.

Value

a numeric vector x^2

Examples

1
2
3
4
5
## Not run: 
  x <- rnorm(10)
  c_test(x)

## End(Not run)  

rdoxygen documentation built on May 2, 2019, 11:04 a.m.