- #1
sue132
- 14
- 0
Hi,
I'm trying to generate a set of random vectors with binary values. I need to generate them such that each time, one new vector gets added to the existing matrix. I have been using call random_number(ranval) for the generation, but I haven't been able to get linearly independent vectors.
(I need to orthogonalize them, so the vectors have to be linearly independent)
Any help would be much appreciated. Any info on random number generators would also be useful.
Thanks,
S.
(P.S. I am currently working with Fortran77)
I'm trying to generate a set of random vectors with binary values. I need to generate them such that each time, one new vector gets added to the existing matrix. I have been using call random_number(ranval) for the generation, but I haven't been able to get linearly independent vectors.
(I need to orthogonalize them, so the vectors have to be linearly independent)
Any help would be much appreciated. Any info on random number generators would also be useful.
Thanks,
S.
(P.S. I am currently working with Fortran77)
Last edited: