You want to print vectors with n elements, where:the first element can have the values: e1.1, e1.2, e1.2;the second element can assume the values: e2.1, e2.2, e2.3;...;...;the nth element can assume the values: en.1, en.2, en.3.I should print all possible vectors; eg:{e1.1, e2.1, en.1 ...};{e1.2, e2.1, en.1 ...};etc. etc.Someone could indicate an algorithm making use of while/for loop to print these vectors?Thanks so much!
Print to video permutations
algorithms;permutations;loops