R
RSH
Okay my math skills aren't waht they used to be...
With that being said what Im trying to do is create a matrix that given x
number of columns, and y number of possible values i want to generate a two
dimensional array of all possible combinations of values.
A simple example:
2 - columns and 2 possible values would generate:
0 0
1 0
0 1
1 1
I obviously need to generate considerably more complex grids but Imagine the
math would be the same.
Thanks for any assistance!
Ron
With that being said what Im trying to do is create a matrix that given x
number of columns, and y number of possible values i want to generate a two
dimensional array of all possible combinations of values.
A simple example:
2 - columns and 2 possible values would generate:
0 0
1 0
0 1
1 1
I obviously need to generate considerably more complex grids but Imagine the
math would be the same.
Thanks for any assistance!
Ron