| Author |
Comment/Response |
Tamás
|
02/28/11 09:46am
Hello.
I'll get to the point.
I am looking for a method of creating a subarray from an array of vectors.
The vectors are possible subsets with 3 elements from 1,2,...F.
I generated them with e.g.:
g = Tuples[Range[2], 3], the range is going to change depending on needs.
Now, I need to find/select those triplets where either the first OR second vector component is not equal to the third or if BOTH are equal to the third.
I'd like to put those triplets that are OK into a new matrix/array so that I can handle them separately later on.
Any idea?
Thanks.
T.
URL: , |
|