I am not sure how to go about this in Python, if its even possible. What I need to do is create an array (or a matrix, or vector?) from 3 separate arrays. Each array as 4
The simplest way:
for i in Class1:
for j in Class2:
for k in Class3:
print (i,j,k)
What you want is called a Cartesian product:
import itertools
iterables = [ [1,2,3,4], [88,99], ['a','b'] ]
for t in itertools.product(*iterables):
print t
Check the Python itertools
standard module:
itertools.combinations(iterable, r)
Return r length subsequences of elements from the input iterable.