POV-Ray : Newsgroups : povray.general : prod function Server Time
29 Nov 2024 13:52:17 EST (-0500)
  prod function (Message 1 to 2 of 2)  
From: Kenneth Hutson
Subject: prod function
Date: 29 Sep 2005 16:40:22
Message: <433c5136$1@news.povray.org>
Hi Group,
I'm hoping someone would show me an example using this function.
Thanks


Post a reply to this message

From: Slime
Subject: Re: prod function
Date: 29 Sep 2005 20:22:39
Message: <433c854f$1@news.povray.org>
> I'm hoping someone would show me an example using this function.


prod(i, 1, 3, otherfunction(i))

is equivalent to

otherfunction(1) * otherfunction(2) * otherfunction(3)

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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