2010/7/26 Mathew Yeates <mat.yea...@gmail.com>: > Is there a simple function call for this? And finding the distance of > a point to the plane?
Hmm, when you are interested in the z distance alone, it should be a matrix equation: Z = X * m_x + Y * m_y + 1 * n Meaning you can invert it with Moore-Penrose pseudoinversion, i.e., numpy.lstsq()? When you have weights on Z, normalise first. Friedrich ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users