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

Home » Public Forums » archive » JBIU utilities - release 1.0
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
JBIU utilities - release 1.0 [message #60809] Fri, 13 June 2008 09:03 Go to next message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
I've decided to package together some of my IDL routines that I find
most useful, in the hopes that others might too! Some of them tend
towards astronomy-related things, but there are lots that should be of
quite general interest. Please let me know if you have any comments.

http://astroconst.org/jbiu/

(yes, the web page is extremely bare-bones right now... )

-Jeremy.
Re: JBIU utilities - release 1.0 [message #60917 is a reply to message #60809] Sun, 15 June 2008 19:39 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Mark Piper wrote:
> On Jun 13, 12:39 pm, "mgal...@gmail.com" <mgal...@gmail.com> wrote:
>> How about the following?
>>
>> function mg_sign, x
>> compile_opt strictarr
>>
>> return, fix(x gt 0) - fix(x lt 0)
>> end
>
> Prior art! :)
>
> http://www.ittvis.com/codebank/search.asp?FID=296
>
> (Just kidding, Mike; I'm sure someone thought of this long before I
> did.)
>
> mp

I did note you mention in the comments that you think there should be a
cleaner algorithm than the one you used.

Mike
--
www.michaelgalloy.com
Tech-X Corporation
Software Developer II
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: JBIU utilities - release 1.0
Next Topic: Re: An algorithm puzzle

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

Current Time: Wed Oct 08 17:05:42 PDT 2025

Total time taken to generate the page: 0.00547 seconds