Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10334
| From | "Mitonics" <mitonics@verizon.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Conditionals for lookup table |
| Date | 2012-06-03 09:01 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jqf95s$a4u$1@smc.vnet.net> (permalink) |
I have a long list of conditions to program. I'd like guidance as to the best or fastest way of doing this in Mathematica. First I generate which initial conditions apply. Then I want to go to the lookup table to see which action to take. Then I generate another set of conditions and I want to lookup which action to take. and so on. For example the concept for the lookup table will include various permutations of conditions. Each permutation leads to a different action as follows: If Acondition1 and Bcondition1 are True, then do Action 1 If Acondition1 and Bcondition2 are True, then do Action 2 If Aconditon2 and Bcondition1 are True, then do Action 3 Etc. There are perhaps 100 different Actions for what I'm trying to do. Mike
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Conditionals for lookup table "Mitonics" <mitonics@verizon.net> - 2012-06-03 09:01 +0000
csiph-web