The OpenD Programming Language

joint

Bind a set of ranges together to represent a joint probability distribution.

Joint!(FlattenType!(T))
joint
(
T...
)
()

Examples

auto foo = [1,2,3,1,1];
auto bar = [2,4,6,2,2];
auto e = entropy(joint(foo, bar));  // Calculate joint entropy of foo, bar.

Meta