[GRASS-dev] G_math_eigen in python

Rashad M mohammedrashadkm at gmail.com
Sun Mar 24 21:21:07 PDT 2013


thank soren.


On Sun, Mar 24, 2013 at 6:10 PM, Sören Gebbert <soerengebbert at googlemail.com
> wrote:

> Hi,
> try:
>
> import grass.lib.gmath as gmath
> gmath.G_math_eigen()
>
> Best regards
> Soeren
>
> 2013/3/24 Rashad M <mohammedrashadkm at gmail.com>:
> > Is there any python equivalent for G_math_eigen()
> >
> > By inspecting source code I found that G_math_eigen is wrapper for ccmath
> > libs` eigen function.
> >
> > Is there any way to call this function in python?
> >
> > python has eigen value and eigen vector calculation using
> > numpy.linalg.eig(..)
> >
> > But interestingly values calculated from G_math_eigen and numpy.linalg
> are
> > different
> >
> >
> >
> > --
> > Regards,
> >    Rashad
> >
> > _______________________________________________
> > grass-dev mailing list
> > grass-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-dev
>



-- 
Regards,
   Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130325/41c728c4/attachment.html>


More information about the grass-dev mailing list