Let $S_1=\{a_1,a_2,\ldots,a_m\}$ and $S_2=\{b_1,b_2,\ldots,b_n\}$ be two sets. I want to list all $a_i+b_j$ for each $1\leq i\leq m$ and $1\leq j\leq n$ in a set. Is there a commend in mathematica for ...

My problem has two parts. Before that I have two Lists/Sets. It suppose to be created them by two initial strings.
In the first part, I need to show sets' elements in venn diagram. I can create venn ...

I try to obtain random elements from a set given by multiple inequalities. This is of general interest to me, but let me present one example here:
I have multiple inequalities specifying half spaces ...

I have two pieces of code that produce a bunch of real numbers, say $A$ and $B$ respectively. (It is not relevant to the question, but $A$ consists of eigenvalues of the Hamiltonian of some physical ...

Mathematica is a registered trademark of Wolfram Research, Inc. While the mark is used herein with the limited permission of Wolfram Research, Stack Exchange and this site disclaim all affiliation therewith.