Learn R Programming

FlexRL (version 0.1.0)

cartesianProduct: cartesianProduct

Description

cartesianProduct

Usage

cartesianProduct(vec1, vec2)

Value

IntegerMatrix: of 2 columns with the cartesian product of vec1 and vec2

Arguments

vec1

first IntegerVector of values to compute the cartesian product

vec2

second IntegerVector of values to compute the cartesian product