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

Home » Public Forums » archive » Re: Anonymous Math Functions in IDL like Matlab
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Anonymous Math Functions in IDL like Matlab [message #75261] Thu, 24 February 2011 06:02 Go to next message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 2/23/11 6:47 pm, Ammar Yusuf wrote:
> Hi, in Matlab you can do something like:
> sqrt = @(x) x.^2;
>
> Is there a way to do this in IDL? I was just wondering.
>
> I tried searching google but that didn't help. Thanks!

No.

-Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
Re: Anonymous Math Functions in IDL like Matlab [message #75342 is a reply to message #75261] Thu, 24 February 2011 19:32 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
I am just curious. What does the expression "sqrt = @(x) x.^2" means ?

nata
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL on win7 crashing
Next Topic: License manager troubles

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

Current Time: Wed Oct 08 17:44:39 PDT 2025

Total time taken to generate the page: 0.00677 seconds