pair.index {multimix} | R Documentation |
Maps integer pairs (u,v) with 0<u<v bijectively to positive integers.
Description
Used to reduce array dimensions by replacing A(x,y,z) by A*(x,pair.index(y,z))
Usage
pair.index(u, v)
Arguments
u |
positive integer scalar |
v |
positive integer scalar |
Value
integer scalar
Author(s)
Murray Jorgensen
Examples
pair.index(11,17)
pair.index(2,12)
[Package multimix version 1.0-10 Index]