Outer Product of Random Arrays

Share:

Description

outer.rv

Usage

1
  outer.rv(X, Y=NULL, FUN="*", ...)

Arguments

X

First argument for function FUN

Y

Second argument for function FUN; if missing, X is used instead

FUN

a function to use on the outer products; a character string or a function

...

optional arguments to be passed to FUN

Details

Implements the outer product for random arrays.

Note. outer is not a generic function; thus outer(x) will not work if x is an rv object. You must write outer.rv(x) explicitly.

See the function outer for further details.

Value

A random array.

Author(s)

Jouni Kerman jouni@kerman.com

References

Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Statistics and Computing 17:3, 235-244.

See also vignette("rv").

Examples

1
  #

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.