Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为给定的 n & k 值创建二项分布的完整样本空间。所以Bin(n = 4, k =2)应该返回类似:
Bin(n = 4, k =2)
1 1 0 0 1 0 1 0 1 0 0 1 0 1 1 0 0 1 0 1 0 0 1 1