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

Home » Public Forums » archive » Accessing an element of an array operation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Accessing an element of an array operation [message #2350] Tue, 07 June 1994 10:25
at913 is currently offline  at913
Messages: 9
Registered: January 1993
Junior Member
Suppose I am interested in a particular element of the convolution operation.
Right now I do it as follows:

temp=convol(a,b)
a=temp(5)

.... and then I proceed to use A.

Is it possible in IDL to shorten the above by directly accessing the sixth
(in the above example) element of the convolution by doing something like:
a=convol(a,b)(5)?

(the above produces an error message)
--
Mirko Vukovic
University of Wisconsin -- Madison
VUKOVIC@UWMFE.NEEP.WISC.EDU
[Message index]
 
Read Message
Previous Topic: IDL's error messages
Next Topic: "Help" in Widget Programs

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

Current Time: Fri Oct 10 05:43:07 PDT 2025

Total time taken to generate the page: 0.24189 seconds