title: How to compute the orthonormal basis of a non square (rectangular) matrix
body: <p>I need to find a way of computing the orthonormal basis for range of a matrix. In matlab <a href="http://www.mathworks.com/help/symbolic/orth.html" rel="nofollow">this function</a> does it.</p>
  
  <p>I need to do this in c/c++ and I am actually working with <a href="http://opencv.willowgarage.com/" rel="nofollow">OpenCV</a></p>
  
  <p>However, I haven't found anything that provides this capability in OpenCV.</p>
  
  <p>I've tried working with cvSVD, but my results aren't correct.</p>
  
  <p>Any clues?</p>