POV-Ray : Newsgroups : povray.advanced-users : Adding arrays : Re: Adding arrays Server Time
22 Jun 2024 22:21:34 EDT (-0400)
  Re: Adding arrays  
From: John Greenwood
Date: 21 Jan 2014 12:10:01
Message: <web.52dea9df8afa3245a7cafab50@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 21.01.2014 12:21, schrieb John Greenwood:
> > Is there a simple way to add two similar arrays, so that each element of the new
> > array is the sum of the corresponding elements in the two input arrays?
>
> You mean, simpler than to #declare a new array of same size, and in a
> #for loop add all the corresponding entries?
>
> Nope.

Pity!

Thanks for quick reply.


Post a reply to this message

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