From: Axel Kohlmeyer (
Date: Tue Sep 05 2006 - 18:18:10 CDT


a generic matrix inversion is not available.
to undo many transformation matrices, you
may get away with a transpose+rescale (it
has been a looong time since i needed to
deal with it seriously).

but you are in the market for real inversion, you
may want to have a look at:
if your code is not performance critical.

other than that, the next best option would be
to implement a wrapper plugin for BLAS/LAPACK...
i've been thinking about this for a while,
but there was rarely enough contigouus time
(and if there was, there were more pressing projects)
to try something like that in a serious manner.


On 9/5/06, Neelanjana Sengupta <> wrote:
> Hi,
> Does VMD have a routine to find the inverse of a matrix? I am referring to
> the 'trans' matrix operations, used to perform a variety pf coordianate
> transformations:
> I did not see anything like "transinverse"...
> Thanks and regards,
> Neela

Axel Kohlmeyer
  Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
If you make something idiot-proof, the universe creates a better idiot.