Here's my problem. I would like to test a whole bunch of random function parameter values for certain conditions, and if they meet all of these conditions, I'd like to add them to a table or an array or something so that I can then plot the points (ignoring the sets of values that do not meet all of these conditions). Here are a few specifics:
My conditions rely on three parametric functions:
0 < (H[m, s][u] /. sol) &&
0 < (S[m, s][u] /. sol) < 4 Pi &&
-4 Pi < (SH[m, s][u] /. sol) < 4 Pi
I want to test random values for m and s across the function domain u = {10^3, 10^18}.
m = RandomInteger[{300, 2200}];
s = RandomReal[{-1, 1}];
I'd like to store (plot) lots of random points that satisfy the conditions, and scrap the rest. What's the best way to do this?