First time here? Check out the FAQ!
asked 11 years ago
Hi,
I want to construct, given m and q, the list of all vectors v=(a1,…,am) such that 0≤a1≤⋯≤am<q. I tried to use "CartesianProducts" but I don't known how to iterate it m-times.
Thanks.-.