- #1
nikolafmf
- 114
- 0
Hello everyone,
I have for loop in Mathematica. After every step Mathematica has new results calculated. I want to see only some results, those who met certain conditions, not results from all steps. Say, I have 10000 steps and I don't need all 10000 results, but only those that met certain conditions. There are at least two or more conditions to be met. How can I tell Mathematica to print only those results?
So I want to tell this to Mathematic ain a for loop:
If a is true and b is true or c is true and d is true, then print blablabla, else do nothing.
I have for loop in Mathematica. After every step Mathematica has new results calculated. I want to see only some results, those who met certain conditions, not results from all steps. Say, I have 10000 steps and I don't need all 10000 results, but only those that met certain conditions. There are at least two or more conditions to be met. How can I tell Mathematica to print only those results?
So I want to tell this to Mathematic ain a for loop:
If a is true and b is true or c is true and d is true, then print blablabla, else do nothing.