To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 14524
14523  |  14525
Subject: 
Re: Inverse matrix?
Newsgroups: 
lugnet.cad.ray, lugnet.cad
Date: 
Sat, 7 Apr 2007 18:40:03 GMT
Viewed: 
651 times
  
In lugnet.cad.ray, James Reynolds wrote:
Does anyone know how to generate an inverse matrix.  By inverse I mean it will
undo the rotation of the original matrix.  I thought the inverse of
<1,0,0,0,1,0,0,0,1,0,0,0> was <-1,0,0,0,-1,0,0,0,-1,0,0,0>.  In other words,
multiply every value by -1.

I know POV-Ray 3.6 has an inverse matrix function but it doesn't work in 3.1,
which is what I'm using.

The inverse of <1,0,0,0,1,0,0,0,1,0,0,0> is itself.

To compute the inverse of a general 3x3 matrix (essentially what you need to do)
is rather complicated. You could do it in a macro using Gaussian elimination
[1].

Tim

[1] http://en.wikipedia.org/wiki/Gaussian_elimination



Message has 1 Reply:
  Re: Inverse matrix?
 
(...) Arg. I thought this was going to be easy. I liked this part of the wikipedia article: "In practice, inverting a matrix is rarely required. Most of the time, one is really after the solution of a particular system of linear equations." Hm. I (...) (18 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)

Message is in Reply To:
  Inverse matrix?
 
Does anyone know how to generate an inverse matrix. By inverse I mean it will undo the rotation of the original matrix. I thought the inverse of <1,0,0,0,1,0,0,0,1,0,0,0> was <-1,0,0,0,-1,0,0,0,-1,0,0,0>. In other words, multiply every value by -1. (...) (18 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)

13 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR