def make_homog(points):
 return vstack((points, ones((1, points.shape[1]))))

def make_homog ( points ) : return vstack ( ( points , ones ( ( 1 , points . shape [ 1 ] ) ) ) )
convert a set of points to homogeneous coordinates .