• Aucun résultat trouvé

\ --- ... I PROGRAM LIBRARY

N/A
N/A
Protected

Academic year: 2022

Partager "\ --- ... I PROGRAM LIBRARY "

Copied!
3
0
0

Texte intégral

(1)

I \ DECUS

\ --- ... I PROGRAM LIBRARY

DECUS NO.

TITLE

AUTHOR

COM PANY

DATE

FORMAT

8-96

J BESSEL FUNCTION (FORTRAN)

J. A. Crawford

Communications Systems, Inc.

Paramus, New Jersey

September 6, 1967

AI though th is program has been tested by the contri butor, no warranty, express or i mpl i ed, is made by the contri butor I

Digital Equipment Computer Users Society or Digital Equipment Corporation as to the accuracy or functioning of the program or related program material! and no responsibility is assumed by these parties in connection therewith.

(2)

J BESSEL FUNCTION (FORTRAN)

DECUS Program Library Write-up DECUS No. 8-96

C ; T H

J

S ~ i~ 0 G R A ,"1 C

0:"1?

U rES

r

h

F. J

H F SSE L F U\) C T 1 0:\

C ; FOR

?\

G I V EN 1-\ k G UiVi EN TAN D 0 R I) F H

c;

F~ROH

CODE KEY:

C; IER=0 •••••••

~O ~RROR

C ; I E R = 1 ••••••• 0

f~

0 E

~

I S

N

E G?\ r I V

f

C;

IE~=?

••••••

ARGU~E~T

IS NEGATIVE

O~

lERO C; lER=3 •••••••

~EO·O

ACCURACY NOT

08TAI~FD

C;

IFR=~

••••••• RANGE Of N WRT. X NUT CORRECT

~02;

CONTINUE

TY~F.

hH'

H~(I);

FOR\.1AT (/,"ENTER ORDEr< 0"- J

BF~SFL fo-lJNCrIO~ nESI:~EDtI,/) ACCFY T 2(1 (I} II\J

?00; FORMAT(l)

TY~F

30C1

3!~0; FORV1AT(tlENTE~

Ar<GUMENT (IF J dESSEL Ftf(\tCTION DFSIRfO",/)

ACCEr'

T

4("~ ,;(

400; FORMAT(E) TYPE 500

5VH1; FORIV1~T("EI\JIFR

ACCUHACY

DFSIKEO",/)

ACCF.P T

4'1~·1, D

t3J=0.

I F ( N ) 1

~~

, 20

I ~~}

10; 1 ER= 1 GO TO 77

20; IF(X)30,30,31

3\1; I ER=2

31 ;

4~'

;

GO TO 77

IF(X-15.)32,32,34

NT~ST=20.+10.*f..-X**2./3.

GO TO 36

\\TFS T=91:'. +X

I'?..

I F(

N-YTF.ST) LJ{1 13K, 38

IE~=4

GO TO

77 1 r.R=O Nl=N+l

At.)

k F. V = •

t~'

1

t<"" (

X - :;. ) SD , nk) ,

6~~1

v,A=;(+6.

GO TO 70

MA=1.4*;(+60./X IFIX=X

Mrl=N+IFIX/4+?

(3)

IFC'V!H-VJA)111,} 12,112

1 1 ~~; !ViZ FRO=Vjri GO TO 113

1 11;

MZERO=~A

J

13;

CO\!TI

,\JU~

.V} ;v1 A X

=

(\,1

r

F

S r

DO 1

';h~

'VJ=Vll FRO,

\1j:"1(\)(:,

3

F"11 =1

o'1F-~)K f"!=ALI.)H/~ =;J.

If ( ,\'\- (

"Vi /:~)

*?) 1

?V1,

1 1

;1"

1

;~(~

1

H1;

JT=-l

GO TO 1

311

1 20; J T= 1

13'~; 'V!2=M-~~

00 1

6~'iK

= t ,

.~;~

N)K='Vj-~

FLOAT='Vir<,

~VJK=2o*~LDAr*F~1/X-F~

f'V)=FVll

F~

1

=g;VlK

IF (

:v!K - \1-1 ) 1 SO, 1 40" 1 5~1

1 40; H J =

ri""i K

1 :'0;

J

r = -.j f

S=l+JT

AL?HA=ALPriA+~~~.S

160; CONTINUF

RVl K

= 2

0

* F

tV}

1

I X - F"I

I F ( N) 1 8 d, 1 70, 1

~ (j

170; tsJ=dV,K

18~H ALPHA=ALt)HA+t3MK

BJ=BJ/ALPHA

LIIJ=t3J-

riP

K

F. V

I F( UU) 1

'J

1,191, 1

~2

1 91 ; U

u= -

U

LJ

19~;

VV=O*8J

IF(VV)193,193,1~4

193; VV=-VV

194; IFCUU-VV}77,77,195 195; dPREv=B.j

19~;

CONTINUE

1 i-~K= 3

77; TYPE le2,dJ,lEr<

U:l2;

FOR:vlAf(E,"

IFR=",I,/)

GO TO ~O~

END

Références

Documents relatifs

metric multiprocessing implementation of the DEC OSF/ I operating s�'stem. on the optimization of mathematical subroutine libraries for the Alpha architecture. ami on

LAD service name of the AXP &#34;boot container&#34; for operating systems fetched prior to version 3.0, wh ich is served from the POLYCENTER Software Distribution

Our engineers are available to discuss PDP with you in greater detaiL If you have a specific application in mind, or would like to receive additional literature

WHICH MAY APPEAR HEREIN.&#34; FIELD MAINTENANCE PRINT SET &#34;THIS DRAWING AND SPE:C!FICATIONS, HEREIN, ARE THE PROPERTY OF DIGITAL eQUIPMENT CORPORATION.. AND SHALL

These drawings and spe.;ifications hel&#34;9in are the property of Digital EQuipment Corporation and shall.. &#34;not be reproduced or copied or used in whole or in part as

The material herein is for information purposes on:y and is subject to change without notice. Digital Equipment Corporation aRsumes no responsibility for any errors which may

The mass spectrometer data acquisition and analysis system described is a multi- phase proprietaryl computer program de- signed to operate on a DEC PDP-B digital

Technically, FASBAC is simply a communica- tions-oriented text editing facility with bulk storage (Fig. Text can be entered, stored, retrieved, and manipulated via