title: F# library or .Net Numerics equivalent to Python Numpy function
body: <p>I have the following python Numpy function;  it is able to take X, an array with an arbitrary number of columns and rows, and output a Y value predicted by a least squares function. </p>
  
  <p>What is the Math.Net equivalent for such a function?</p>
  
  <p>Here is the Python code:</p>
  
  <pre><code>    newdataX = np.ones([dataX.shape[0],dataX.shape[1]+1])
      newdataX[:,0:dataX.shape[1]]=dataX
  
      # build and save the model
      self.model_coefs, residuals, rank, s = np.linalg.lstsq(newdataX, dataY)
  </code></pre>