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

Home » Public Forums » archive » Re: How to extract a scalar from a vector?
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: How to extract a scalar from a vector? [message #74162 is a reply to message #74161] Tue, 04 January 2011 15:37 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Balt writes:

> See this:
> IDL> help,cal_data[sel_cal_data,3]
> <Expression> DOUBLE = Array[1]
>
> How on earth can I make cal_data[sel_cal_data,3] into
> a scalar?

IDL> Help, (cat_data[sel_cal_data,3])[0]

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Colorimetric map in IDL
Next Topic: Using color tables in function graphics

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

Current Time: Wed Oct 08 14:11:35 PDT 2025

Total time taken to generate the page: 0.00242 seconds