title: Initializing a matrix to infinity in python
body: <p>How to initialize a matrix to a very large number, say to infinity.</p>
  
  <p>Similar to initializing all elements to zero:
  sample = np.matrix((np.zeros(50,50))</p>
  
  <p>I want to initalize to infinity </p>
  
  <p>How to do it in python?</p>