POV-Ray : Newsgroups : povray.general : Determinate instruction : Re: Determinate instruction Server Time
5 Aug 2024 16:09:44 EDT (-0400)
  Re: Determinate instruction  
From: Peter Popov
Date: 26 Aug 2002 07:13:25
Message: <iu2kmu0cpd1s8jmj0mqaksjrcplhi39gdo@4ax.com>
On Sun, 25 Aug 2002 13:34:37 -0500, "Boryana"
<neo### [at] hotmaillcom> wrote:

>   Where can I find documentation about the determinate instruction?

Hello Boryana,

while there is no determinant function in the POV-Ray scripting
language per se, you can write your own. Computing a determinant is
pretty straight forward.

The vector functions in the POV-Ray scripting language provide some
shortcuts. If you take a look at the Reorient() macro in the standard
includes, you'll see a pretty neat means to calculate a 3x3
determinant. For a 4x4, you can use the old pow(-1,j+k)*D(i,j)
formula. Or you can just stick to permutations for a general case.

Any book on linear algebra should have the formulas you need.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.