0

I wanted to create the complete sample space of Binomial distribution for a given value of n & k. So Bin(n = 4, k =2) should return something like:

1 1 0 0 
1 0 1 0 
1 0 0 1
0 1 1 0 
0 1 0 1 
0 0 1 1
Cath
  • 23,906
  • 5
  • 52
  • 86
Arman Sharma
  • 942
  • 1
  • 6
  • 7

0 Answers0