title: Initializing a matrix with random number from given range - python
body: <p>How to initialize a matrix with random number (say 0 to 0.01)? </p>
  
  <pre><code>           A = numpy.random.rand(2,3)
  </code></pre>
  
  <p>This gives the result:</p>
  
  <pre><code>          &gt;&gt;A
                 array([[ 0.45378345,  0.33203662,  0.42980284],
                        [ 0.2150098 ,  0.39427043,  0.10036063]]) 
  </code></pre>
  
  <p>But how to specify the range of random numbers ( 0 to 0.01)?             </p>