[Insight-users] invertin a vnl_matrix

Julien Jomier jjomier at cs . unc . edu
Wed, 7 May 2003 11:40:30 -0400


Hi Zein,

#include <vnl_matrix_inverse.h>

vnl_matrix <float>  m;   // m  is the matric to invert
vnl_matrix <float> i =3D vnl_matrix_inverse<float>(m).inverse();

Hope this helps

Julien

> -----Original Message-----
> From: insight-users-admin@public.kitware.com=20
> [mailto:insight-users-admin@public.kitware.com] On Behalf Of salah
> Sent: Wednesday, May 07, 2003 11:28 AM
> To: ITK Users
> Subject: [Insight-users] invertin a vnl_matrix
>=20
>=20
> Hi,=20
> can anybody please provide me with mimimal code
> to invert a vnl_matrix ??
>=20
> assuming=20
> vnl_matrix <float>  m;   // m  is the matric to invert
>=20
> Thanks,
> Zein
>=20
>=20
> ->8<------------->8<------------->8<------------->8<----------
> --->8<----
> ->--------->8<-
> Zein I. Salah=20
> University of T=FCbingen, WSI-GRIS, Sand 14, 72076 T=FCbingen=20
> Email: salah@gris.uni-tuebingen.de
> Tel.: (07071) 29 75465 (GRIS),           Fax: (07071) 29 54 66
>=20
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com=20
> http://public.kitware.com/mailman/listinfo/ins> ight-users
>=20