The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Select from Tuplet using logical expression
Replies: 10   Last Post: Mar 8, 2011 5:37 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Lengyel Tamas

Posts: 10
Registered: 2/23/11
Select from Tuplet using logical expression
Posted: Mar 1, 2011 5:27 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


Skip if needed:
///I am working on a part combinatorical problem with sets of 3
differently indexed values (e.g. F_i, F_j, F_k, F denoting frequency
channels) which are subsets of many values (e.g 16 different frequency
channels, denoted F_0, F_1 ... F_15).

Now, I need to select triplets from these channels, I used Tuplets. So far
so good. From these I need those combinations where indexes i!=k and/or
j!=k, and i=j is allowed (e.g {i,j,k} = {12, 12, 4} is a valid channel
combination, but {3, 12, 3} is not).///

So basically I need to generate triplets from a range of integer numbers,
where the first and second elements of these triplets do not match the
third. I thought Select would help, but I don't know if there exists an
option to control elements' values in a condition.

>From then on I must use these triplets' elements in a function.

But first I am asking your help in generating thos triplets of numbers.


Tamás Lengyel

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.