Hi,
I’m trying to create a nested loop with the omloop object.
Below would be the java code for my patch. The goal is to obtain a topological space using a set of interval from 1 to 12.
In that specific case, there is 12^4(20 736) non identical chords created by intervals 1 to 12.
Idealy, I would like to keep the same output format; (1 1 1 1) (1 1 1 2) (1 1 1 3) … (12 12 12 12). Also, since i’m not yet used to common lips it would be appreciated to have your opinions in the form of a patch.
I’m kind of sorry to ask for this info and not be at the same level of the rest of the forum. I’m working on it.
In Canada, this tool(OM) is not well know and there’s a major lack of visibility. Still, this forum and the OM composer’s book helped a lot
public static void main(String[] args) {
for (int a = 1; a < 13; a++ ){
for (int b = 1; b < 13; b++){
for ( int c = 1; c < 13; c++){
for ( int d = 1; d < 13; d++){
System.out.println( “(” + a + " " + b + " " + c + " " + d + “)” );
}
}
}
}
}
Cordialement