Hi, everyone!
I know it seems easy, but it is driving me crazy.
Let’s say that we have two lists of the same size: {a,b} and {c,d}.
How can we pair them up? But withou apply a function like we have in the command Outer.
The resulting list should be {{a,c},{a,d},{b,c},{b,d}}.
What if we have two lists of different sizes: {a,b} and {c,d,e}.
How can we pair them up?
The resulting list should be {{a,c},{a,d},{a,e},{b,c},{b,d},{b,e}}.
Please, help me out here. I am searching for a Wolfram function that does that, but I haven’t found sth yet.
Thank you in advance.
Honestly, both s0 and v1 shouold be evaluated, but I don’t know what is going on.
Why is this happening? Can someone help me, please?
Thank you in advance for your kind attention.
Hey, Edson, it’s getting difficult to follow your questions, because pieces of your question are spread all over this conversation. Also, please use the codeblock formatting for your code instead of text. When you’re posting your question look for the little icon that looks kinda like <>. Or just use 4 spaces after a blank line to initiate a codeblock. And make sure you paste in your actual code. If you do this, then we can copy-paste your code and be confident that we’re replicating your actual situation. Also, it would really help if you’d provide all of the relevant code. I don’t know how you defined F in this latest post. Maybe it’s somewhere else in this conversation, but that just means it’s effectively lost. And really, at this point, it’s probably better to just start a whole new conversation. The initial question has been answered (I think), so you’re now asking a completely different question, but nobody looking at this site knows that unless they’ve been following all the details. So, you’re not likely to get any more “eyes” on this problem.