Oops, I gave up too quickly. A for loop through the elements of the array gets the job done. Still, if there is a direct math operation, it would be good to know.
Otis Otis Rothenberger chemagic.com On 9/11/2010 9:53 PM, Otis Rothenberger wrote: > I would like to multiply each element of a Jmol array by a constant > value. Is this possible with Jmol math? If so, what is the script syntax? > > For example [1,2,3,4,5] multiplied by 5 to produce the new array > [5,10,15,20,25] > > Otis > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

