Hi,
try:

import grass.lib.gmath as gmath
gmath.G_math_eigen()

Best regards
Soeren

2013/3/24 Rashad M <[email protected]>:
> 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
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-dev
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to