comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Need a function to multiply the elements of an array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Need a function to multiply the elements of an array [message #4139 is a reply to message #4065] Fri, 28 April 1995 00:00 Go to previous messageGo to previous message
isaacman is currently offline  isaacman
Messages: 20
Registered: June 1992
Junior Member
In article <adorf-2704951634260001@st53.hq.eso.org> adorf@eso.org (Hans-Martin Adorf) writes:
> In article <3nm2uk$qqq@pinot.umd.edu>, barsam@Glue.umd.edu (Barsam

>> I am looking for a routine to multiply the elements of an array.

> You can try
>
> z = exp(total(alog(x)))

Cute, but there better not be any negative or zero elements in x!

Rich Isaacman
General Sciences Corp.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ARMA (was Re: Need a function to multiply the elements of an array)
Next Topic: Re: strart up file in idl

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Dec 03 20:04:45 PST 2025

Total time taken to generate the page: 0.79961 seconds