rcpparmabasic: Set operation of functions in RcppArmadillo package

Description Usage Arguments Details Value Author(s) References Examples

Description

These four functions are created when RcppArmadillo.package.skeleton() is invoked to create a skeleton packages.

Usage

1
2
3
4

Arguments

x

a numeric vector

Details

These are example functions which should be largely self-explanatory.

Value

rcpparmabasic_test() does not return a value, but displays a message to the console.

rcpparmabasic_outerproduct() returns a numeric matrix computed as the outer (vector) product of x.

rcpparmabasic_innerproduct() returns a double computer as the inner (vector) product of x.

rcpparmabasic_bothproducts() returns a list with both the outer and inner products.

Author(s)

Lianfa Li

References

See the documentation for Armadillo, and RcppArmadillo, for more details.

Examples

1
2
3

downscaledl documentation built on Oct. 30, 2019, 11:35 a.m.