pair.prod: Pairwise Products

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Computes pairwise elementwise products.

Usage

1

Arguments

X

a numeric matrix.

Details

The function computes all elementwise products of row i and row j with i < j. The function is a wrapper to a C function to do the computation quickly and does no checks concerning the input.

Value

Matrix containing the products.

Author(s)

Klaus Nordhausen

See Also

pair.diff, pair.sum

Examples

1
2
X <- matrix(1:10, ncol = 2, byrow = FALSE)
pair.prod(X)

ICSNP documentation built on March 18, 2018, 2:15 p.m.