Group: comp.lang.fortran · Group Profile · Search for Rnage in comp.lang.fortran
Author: analyst41
Date: Mar 7, 2008 16:13
... I have a related question and would appreciate any inputs: give n (1<=n<=20) I want to create an integer matrix with 2**n rows and n columns. The ith row should contain the binary representation of i for n = 3 the natrix should look like 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 (I want to do some brute force enumerations of runs, rnages etc. of random walks).
|