Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    $\begingroup$ What's the value of qlim? $\endgroup$ Commented Jan 1, 2017 at 22:53
  • $\begingroup$ it is a scalar value like 1 or 3 $\endgroup$ Commented Jan 1, 2017 at 22:54
  • $\begingroup$ That's not the answer to my question. I still don't know what do you want to achieve with your code, but the desired output can be obtained with Flatten[Table[{i, j}, {i, 1, 4}, {j, i + 1, 4}], 1]. $\endgroup$ Commented Jan 1, 2017 at 22:55
  • $\begingroup$ Actually ı have written the index inside the list not the actual output. I didn't know that we can use one index inside other. I will try it tomorrow. Thank you. $\endgroup$ Commented Jan 1, 2017 at 23:07
  • $\begingroup$ See also: mathematica.stackexchange.com/q/86138/121 $\endgroup$ Commented Jan 1, 2017 at 23:16