[GRASS-dev] G_math_eigen in python

Sören Gebbert soerengebbert at googlemail.com
Sun Mar 24 05:40:10 PDT 2013


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


More information about the grass-dev mailing list