[GRASS-dev] calculating inverse matrix

Hi all,

I found several methods in GRASS code which compute inverse matrix

1) v.generalize

http://trac.osgeo.org/grass/browser/grass/trunk/vector/v.generalize/matrix.c#L134

2) i.orto.photo

http://trac.osgeo.org/grass/browser/grass/trunk/imagery/i.ortho.photo/lib/m_inverse.c#L16

3) GMath lib (depends on lapack/blas)

http://trac.osgeo.org/grass/browser/grass/trunk/lib/gmath/la.c#L566

It would be nice to consolidate it including data structures (modules
noted above define their own data structures for matrix). In other
worlds to incorporate v.generalize/i.orto.photo code into GMath lib.
Any pointers here?

Thanks, Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Tue, Mar 26, 2013 at 12:20 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi all,

I found several methods in GRASS code which compute inverse matrix

... as a 4) see also i.spec.unmix in Addons were matrix inversion is crucial.

Markus