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

Home » Public Forums » archive » [Q]: ID analog to FORTRAN "sign" function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
[Q]: ID analog to FORTRAN "sign" function [message #21932] Fri, 06 October 2000 22:34 Go to previous message
Rostyslav Pavlichenko is currently offline  Rostyslav Pavlichenko
Messages: 2
Registered: August 2000
Junior Member
I need help, I am a new to the IDL.

Does the IDl have something close to Fortran SIGN (DSIGN... so on...)
functions

IN FORTRAN:
Elemental Intrinsic Function (Generic):
Returns the absolute value of the first argument times the sign of the
second argument.

Syntax:
=======
result = SIGN (a, b)
a (Input) Must be of type integer or real.

b Must have the same type and kind parameters as a.

Results:
=========
The result type is the same as a.
The value of the result is
| a | if b >= zero
and -| a | if b < zero.



--

Best regards, and thank you in advance

=================================================

Dr Rostyslav Pavlichenko

Research Center for
Development of Far Infrared Region
Fukui University

Bunkyo 3-9-1, Fukui 910-8507 Japan

phone: [+81] 776 27 8972
fax: [+81] 776 27 8752
fax: [+81] 776 27 8750

mailto:slavik@maxwell.apphy.fukui-u.ac.jp

=================================================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3D Visualization
Next Topic: Re: BINARY FILES

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

Current Time: Fri Oct 10 11:00:15 PDT 2025

Total time taken to generate the page: 0.39969 seconds