aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/s.spad.pamphlet
blob: 0b89a5cbe5aaf1e9287dc1d83c6c8d371e99847d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
\documentclass{article}
\usepackage{open-axiom}
\begin{document}
\title{\$SPAD/src/algebra s.spad}
\author{Godfrey Nolan, Mike Dewar}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{package NAGS NagSpecialFunctionsPackage}
<<package NAGS NagSpecialFunctionsPackage>>=
)abbrev package NAGS NagSpecialFunctionsPackage
++ Author: Godfrey Nolan and Mike Dewar
++ Date Created: Jan 1994
++ Date Last Updated: Thu May 12 17:45:44 1994
++Description:
++This package uses the NAG Library to compute some commonly
++occurring physical and mathematical functions.
++See \downlink{Manual Page}{manpageXXs}.
NagSpecialFunctionsPackage(): Exports == Implementation where
  S ==> Symbol
  FOP ==> FortranOutputStackPackage

  Exports ==> with
    s01eaf : (Complex DoubleFloat,Integer) -> Result 
     ++ s01eaf(z,ifail)
     ++ S01EAF evaluates the exponential function exp(z) , for complex z.
     ++ See \downlink{Manual Page}{manpageXXs01eaf}.
    s13aaf : (DoubleFloat,Integer) -> Result 
     ++ s13aaf(x,ifail)
     ++ returns the value of the exponential integral 
     ++  E (x), via the routine name.
     ++   1
     ++ See \downlink{Manual Page}{manpageXXs13aaf}.
    s13acf : (DoubleFloat,Integer) -> Result 
     ++ s13acf(x,ifail)
     ++ returns the value of the cosine integral
     ++ See \downlink{Manual Page}{manpageXXs13acf}.
    s13adf : (DoubleFloat,Integer) -> Result 
     ++ s13adf(x,ifail)
     ++ returns the value of the sine integral
     ++ See \downlink{Manual Page}{manpageXXs13adf}.
    s14aaf : (DoubleFloat,Integer) -> Result 
     ++ s14aaf(x,ifail) returns the value of the Gamma function (Gamma)(x), via 
     ++ the routine name.
     ++ See \downlink{Manual Page}{manpageXXs14aaf}.
    s14abf : (DoubleFloat,Integer) -> Result 
     ++ s14abf(x,ifail) returns a value for the log, ln(Gamma(x)), via 
     ++ the routine name.
     ++ See \downlink{Manual Page}{manpageXXs14abf}.
    s14baf : (DoubleFloat,DoubleFloat,DoubleFloat,Integer) -> Result 
     ++ s14baf(a,x,tol,ifail)
     ++ computes values for the incomplete gamma functions P(a,x) 
     ++ and Q(a,x).
     ++ See \downlink{Manual Page}{manpageXXs14baf}.
    s15adf : (DoubleFloat,Integer) -> Result 
     ++ s15adf(x,ifail)
     ++ returns the value of the complementary error function, 
     ++ erfc(x), via the routine name.
     ++ See \downlink{Manual Page}{manpageXXs15adf}.
    s15aef : (DoubleFloat,Integer) -> Result 
     ++ s15aef(x,ifail)
     ++ returns the value of the error function erf(x), via the 
     ++ routine name.
     ++ See \downlink{Manual Page}{manpageXXs15aef}.
    s17acf : (DoubleFloat,Integer) -> Result 
     ++ s17acf(x,ifail)
     ++ returns the value of the Bessel Function 
     ++  Y (x), via the routine name.
     ++   0
     ++ See \downlink{Manual Page}{manpageXXs17acf}.
    s17adf : (DoubleFloat,Integer) -> Result 
     ++ s17adf(x,ifail)
     ++ returns the value of the Bessel Function
     ++  Y (x), via the routine name.
     ++   1
     ++ See \downlink{Manual Page}{manpageXXs17adf}.
    s17aef : (DoubleFloat,Integer) -> Result 
     ++ s17aef(x,ifail)
     ++ returns the value of the Bessel Function 
     ++  J (x), via the routine name.
     ++   0
     ++ See \downlink{Manual Page}{manpageXXs17aef}.
    s17aff : (DoubleFloat,Integer) -> Result 
     ++ s17aff(x,ifail)
     ++ returns the value of the Bessel Function 
     ++  J (x), via the routine name.
     ++   1
     ++ See \downlink{Manual Page}{manpageXXs17aff}.
    s17agf : (DoubleFloat,Integer) -> Result 
     ++ s17agf(x,ifail)
     ++ returns a value for the Airy function, Ai(x), via the 
     ++ routine name.
     ++ See \downlink{Manual Page}{manpageXXs17agf}.
    s17ahf : (DoubleFloat,Integer) -> Result 
     ++ s17ahf(x,ifail)
     ++ returns a value of the Airy function, Bi(x), via the 
     ++ routine name.
     ++ See \downlink{Manual Page}{manpageXXs17ahf}.
    s17ajf : (DoubleFloat,Integer) -> Result 
     ++ s17ajf(x,ifail)
     ++ returns a value of the derivative of the Airy function 
     ++ Ai(x), via the routine name.
     ++ See \downlink{Manual Page}{manpageXXs17ajf}.
    s17akf : (DoubleFloat,Integer) -> Result 
     ++ s17akf(x,ifail)
     ++ returns a value for the derivative of the Airy function 
     ++ Bi(x), via the routine name.
     ++ See \downlink{Manual Page}{manpageXXs17akf}.
    s17dcf : (DoubleFloat,Complex DoubleFloat,Integer,String,_
	Integer) -> Result 
     ++ s17dcf(fnu,z,n,scale,ifail)
     ++ returns a sequence of values for the Bessel functions 
     ++  Y      (z) for complex z, non-negative (nu) and n=0,1,...,N-1, 
     ++   (nu)+n                                                       
     ++ with an option for exponential scaling.
     ++ See \downlink{Manual Page}{manpageXXs17dcf}.
    s17def : (DoubleFloat,Complex DoubleFloat,Integer,String,_
	Integer) -> Result 
     ++ s17def(fnu,z,n,scale,ifail)
     ++ returns a sequence of values for the Bessel functions 
     ++  J      (z) for complex z, non-negative (nu) and n=0,1,...,N-1, 
     ++   (nu)+n                                                       
     ++ with an option for exponential scaling.
     ++ See \downlink{Manual Page}{manpageXXs17def}.
    s17dgf : (String,Complex DoubleFloat,String,Integer) -> Result 
     ++ s17dgf(deriv,z,scale,ifail)
     ++ returns the value of the Airy function Ai(z) or its 
     ++ derivative Ai'(z) for complex z, with an option for exponential 
     ++ scaling.
     ++ See \downlink{Manual Page}{manpageXXs17dgf}.
    s17dhf : (String,Complex DoubleFloat,String,Integer) -> Result 
     ++ s17dhf(deriv,z,scale,ifail)
     ++ returns the value of the Airy function Bi(z) or its 
     ++ derivative Bi'(z) for complex z, with an option for exponential 
     ++ scaling.
     ++ See \downlink{Manual Page}{manpageXXs17dhf}.
    s17dlf : (Integer,DoubleFloat,Complex DoubleFloat,Integer,_
	String,Integer) -> Result 
     ++ s17dlf(m,fnu,z,n,scale,ifail)
     ++ returns a sequence of values for the Hankel functions 
     ++   (1)           (2)                                           
     ++  H      (z) or H      (z) for complex z, non-negative (nu) and 
     ++   (nu)+n        (nu)+n                                        
     ++ n=0,1,...,N-1, with an option for exponential scaling.
     ++ See \downlink{Manual Page}{manpageXXs17dlf}.
    s18acf : (DoubleFloat,Integer) -> Result 
     ++ s18acf(x,ifail)
     ++ returns the value of the modified Bessel Function 
     ++  K (x), via the routine name.
     ++   0    
     ++ See \downlink{Manual Page}{manpageXXs18acf}.
    s18adf : (DoubleFloat,Integer) -> Result 
     ++ s18adf(x,ifail)
     ++ returns the value of the modified Bessel Function 
     ++  K (x), via the routine name.
     ++   1    
     ++ See \downlink{Manual Page}{manpageXXs18adf}.
    s18aef : (DoubleFloat,Integer) -> Result 
     ++ s18aef(x,ifail)
     ++ returns the value of the modified Bessel Function 
     ++  I (x), via the routine name.
     ++   0    
     ++ See \downlink{Manual Page}{manpageXXs18aef}.
    s18aff : (DoubleFloat,Integer) -> Result 
     ++ s18aff(x,ifail)
     ++ returns a value for the modified Bessel Function 
     ++  I (x), via the routine name.
     ++   1    
     ++ See \downlink{Manual Page}{manpageXXs18aff}.
    s18dcf : (DoubleFloat,Complex DoubleFloat,Integer,String,_
	Integer) -> Result 
     ++ s18dcf(fnu,z,n,scale,ifail)
     ++ returns a sequence of values for the modified Bessel functions
     ++  K      (z) for complex z, non-negative (nu) and 
     ++   (nu)+n                                        
     ++ n=0,1,...,N-1, with an option for exponential scaling.
     ++ See \downlink{Manual Page}{manpageXXs18dcf}.
    s18def : (DoubleFloat,Complex DoubleFloat,Integer,String,_
	Integer) -> Result 
     ++ s18def(fnu,z,n,scale,ifail)
     ++ returns a sequence of values for the modified Bessel functions
     ++  I      (z) for complex z, non-negative (nu) and 
     ++   (nu)+n                                        
     ++ n=0,1,...,N-1, with an option for exponential scaling.
     ++ See \downlink{Manual Page}{manpageXXs18def}.
    s19aaf : (DoubleFloat,Integer) -> Result 
     ++ s19aaf(x,ifail)
     ++ returns a value for the Kelvin function ber(x) via the 
     ++ routine name.
     ++ See \downlink{Manual Page}{manpageXXs19aaf}.
    s19abf : (DoubleFloat,Integer) -> Result 
     ++ s19abf(x,ifail)
     ++ returns a value for the Kelvin function bei(x) via the 
     ++ routine name.
     ++ See \downlink{Manual Page}{manpageXXs19abf}.
    s19acf : (DoubleFloat,Integer) -> Result 
     ++ s19acf(x,ifail)
     ++ returns a value for the Kelvin function ker(x), via the 
     ++ routine name.
     ++ See \downlink{Manual Page}{manpageXXs19acf}.
    s19adf : (DoubleFloat,Integer) -> Result 
     ++ s19adf(x,ifail)
     ++ returns a value for the Kelvin function kei(x) via the 
     ++ routine name.
     ++ See \downlink{Manual Page}{manpageXXs19adf}.
    s20acf : (DoubleFloat,Integer) -> Result 
     ++ s20acf(x,ifail)
     ++ returns a value for the Fresnel Integral S(x), via the 
     ++ routine name.
     ++ See \downlink{Manual Page}{manpageXXs20acf}.
    s20adf : (DoubleFloat,Integer) -> Result 
     ++ s20adf(x,ifail)
     ++ returns a value for the Fresnel Integral C(x), via the 
     ++ routine name.
     ++ See \downlink{Manual Page}{manpageXXs20adf}.
    s21baf : (DoubleFloat,DoubleFloat,Integer) -> Result 
     ++ s21baf(x,y,ifail)
     ++ returns a value of an elementary integral, which occurs as
     ++ a degenerate case of an elliptic integral of the first kind, via 
     ++ the routine name.
     ++ See \downlink{Manual Page}{manpageXXs21baf}.
    s21bbf : (DoubleFloat,DoubleFloat,DoubleFloat,Integer) -> Result 
     ++ s21bbf(x,y,z,ifail)
     ++ returns a value of the symmetrised elliptic integral of 
     ++ the first kind, via the routine name.
     ++ See \downlink{Manual Page}{manpageXXs21bbf}.
    s21bcf : (DoubleFloat,DoubleFloat,DoubleFloat,Integer) -> Result 
     ++ s21bcf(x,y,z,ifail)
     ++ returns a value of the symmetrised elliptic integral of 
     ++ the second kind, via the routine name.
     ++ See \downlink{Manual Page}{manpageXXs21bcf}.
    s21bdf : (DoubleFloat,DoubleFloat,DoubleFloat,DoubleFloat,_
	Integer) -> Result 
     ++ s21bdf(x,y,z,r,ifail)
     ++ returns a value of the symmetrised elliptic integral of 
     ++ the third kind, via the routine name.
     ++ See \downlink{Manual Page}{manpageXXs21bdf}.
  Implementation ==> add

    import Lisp
    import DoubleFloat
    import Any
    import Record
    import Integer
    import Matrix DoubleFloat
    import Boolean
    import NAGLinkSupportPackage
    import AnyFunctions1(Complex DoubleFloat)
    import AnyFunctions1(Integer)
    import AnyFunctions1(DoubleFloat)
    import AnyFunctions1(String)


    s01eaf(zArg:Complex DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s01eaf",_
	["z"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["integer"::S,"ifail"::S]$Lisp_
	,["double complex"::S,"s01eafResult"::S,"z"::S]$Lisp_
	]$Lisp,_
	["s01eafResult"::S,"ifail"::S]$Lisp,_
	[([zArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s13aaf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s13aaf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s13aafResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s13aafResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s13acf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s13acf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s13acfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s13acfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s13adf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s13adf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s13adfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s13adfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s14aaf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s14aaf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s14aafResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s14aafResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s14abf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s14abf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s14abfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s14abfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s14baf(aArg:DoubleFloat,xArg:DoubleFloat,tolArg:DoubleFloat,_
	ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s14baf",_
	["a"::S,"x"::S,"tol"::S,"p"::S,"q"::S_
	,"ifail"::S]$Lisp,_
	["p"::S,"q"::S]$Lisp,_
	[["double"::S,"a"::S,"x"::S,"tol"::S,"p"::S_
	,"q"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["p"::S,"q"::S,"ifail"::S]$Lisp,_
	[([aArg::Any,xArg::Any,tolArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s15adf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s15adf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s15adfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s15adfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s15aef(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s15aef",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s15aefResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s15aefResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s17acf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17acf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s17acfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s17acfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s17adf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17adf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s17adfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s17adfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s17aef(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17aef",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s17aefResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s17aefResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s17aff(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17aff",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s17affResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s17affResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s17agf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17agf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s17agfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s17agfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s17ahf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17ahf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s17ahfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s17ahfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s17ajf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17ajf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s17ajfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s17ajfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s17akf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17akf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s17akfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s17akfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result


    s17dcf(fnuArg:DoubleFloat,zArg:Complex DoubleFloat,nArg:Integer,_
	scaleArg:String,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17dcf",_
	["fnu"::S,"z"::S,"n"::S,"scale"::S,"nz"::S_
	,"ifail"::S,"cy"::S,"cwrk"::S]$Lisp,_
	["cy"::S,"nz"::S,"cwrk"::S]$Lisp,_
	[["double"::S,"fnu"::S]$Lisp_
	,["integer"::S,"n"::S,"nz"::S,"ifail"::S]$Lisp_
	,["character"::S,"scale"::S]$Lisp_
	,["double complex"::S,"z"::S,["cy"::S,"n"::S]$Lisp,["cwrk"::S,"n"::S]$Lisp]$Lisp_
	]$Lisp,_
	["cy"::S,"nz"::S,"ifail"::S]$Lisp,_
	[([fnuArg::Any,zArg::Any,nArg::Any,scaleArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s17def(fnuArg:DoubleFloat,zArg:Complex DoubleFloat,nArg:Integer,_
	scaleArg:String,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17def",_
	["fnu"::S,"z"::S,"n"::S,"scale"::S,"nz"::S_
	,"ifail"::S,"cy"::S]$Lisp,_
	["cy"::S,"nz"::S]$Lisp,_
	[["double"::S,"fnu"::S]$Lisp_
	,["integer"::S,"n"::S,"nz"::S,"ifail"::S]$Lisp_
	,["character"::S,"scale"::S]$Lisp_
	,["double complex"::S,"z"::S,["cy"::S,"n"::S]$Lisp]$Lisp_
	]$Lisp,_
	["cy"::S,"nz"::S,"ifail"::S]$Lisp,_
	[([fnuArg::Any,zArg::Any,nArg::Any,scaleArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s17dgf(derivArg:String,zArg:Complex DoubleFloat,scaleArg:String,_
	ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17dgf",_
	["deriv"::S,"z"::S,"scale"::S,"ai"::S,"nz"::S_
	,"ifail"::S]$Lisp,_
	["ai"::S,"nz"::S]$Lisp,_
	[["integer"::S,"nz"::S,"ifail"::S]$Lisp_
	,["character"::S,"deriv"::S,"scale"::S]$Lisp_
	,["double complex"::S,"z"::S,"ai"::S]$Lisp_
	]$Lisp,_
	["ai"::S,"nz"::S,"ifail"::S]$Lisp,_
	[([derivArg::Any,zArg::Any,scaleArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s17dhf(derivArg:String,zArg:Complex DoubleFloat,scaleArg:String,_
	ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17dhf",_
	["deriv"::S,"z"::S,"scale"::S,"bi"::S,"ifail"::S_
	]$Lisp,_
	["bi"::S]$Lisp,_
	[["integer"::S,"ifail"::S]$Lisp_
	,["character"::S,"deriv"::S,"scale"::S]$Lisp_
	,["double complex"::S,"z"::S,"bi"::S]$Lisp_
	]$Lisp,_
	["bi"::S,"ifail"::S]$Lisp,_
	[([derivArg::Any,zArg::Any,scaleArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s17dlf(mArg:Integer,fnuArg:DoubleFloat,zArg:Complex DoubleFloat,_
	nArg:Integer,scaleArg:String,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s17dlf",_
	["m"::S,"fnu"::S,"z"::S,"n"::S,"scale"::S_
	,"nz"::S,"ifail"::S,"cy"::S]$Lisp,_
	["cy"::S,"nz"::S]$Lisp,_
	[["double"::S,"fnu"::S]$Lisp_
	,["integer"::S,"m"::S,"n"::S,"nz"::S,"ifail"::S_
	]$Lisp_
	,["character"::S,"scale"::S]$Lisp_
	,["double complex"::S,"z"::S,["cy"::S,"n"::S]$Lisp]$Lisp_
	]$Lisp,_
	["cy"::S,"nz"::S,"ifail"::S]$Lisp,_
	[([mArg::Any,fnuArg::Any,zArg::Any,nArg::Any,scaleArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s18acf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s18acf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s18acfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s18acfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s18adf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s18adf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s18adfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s18adfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s18aef(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s18aef",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s18aefResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s18aefResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s18aff(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s18aff",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s18affResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s18affResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s18dcf(fnuArg:DoubleFloat,zArg:Complex DoubleFloat,nArg:Integer,_
	scaleArg:String,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s18dcf",_
	["fnu"::S,"z"::S,"n"::S,"scale"::S,"nz"::S_
	,"ifail"::S,"cy"::S]$Lisp,_
	["cy"::S,"nz"::S]$Lisp,_
	[["double"::S,"fnu"::S]$Lisp_
	,["integer"::S,"n"::S,"nz"::S,"ifail"::S]$Lisp_
	,["character"::S,"scale"::S]$Lisp_
	,["double complex"::S,"z"::S,["cy"::S,"n"::S]$Lisp]$Lisp_
	]$Lisp,_
	["cy"::S,"nz"::S,"ifail"::S]$Lisp,_
	[([fnuArg::Any,zArg::Any,nArg::Any,scaleArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s18def(fnuArg:DoubleFloat,zArg:Complex DoubleFloat,nArg:Integer,_
	scaleArg:String,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s18def",_
	["fnu"::S,"z"::S,"n"::S,"scale"::S,"nz"::S_
	,"ifail"::S,"cy"::S]$Lisp,_
	["cy"::S,"nz"::S]$Lisp,_
	[["double"::S,"fnu"::S]$Lisp_
	,["integer"::S,"n"::S,"nz"::S,"ifail"::S]$Lisp_
	,["character"::S,"scale"::S]$Lisp_
	,["double complex"::S,"z"::S,["cy"::S,"n"::S]$Lisp]$Lisp_
	]$Lisp,_
	["cy"::S,"nz"::S,"ifail"::S]$Lisp,_
	[([fnuArg::Any,zArg::Any,nArg::Any,scaleArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s19aaf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s19aaf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s19aafResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s19aafResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s19abf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s19abf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s19abfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s19abfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s19acf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s19acf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s19acfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s19acfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s19adf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s19adf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s19adfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s19adfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s20acf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s20acf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s20acfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s20acfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s20adf(xArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s20adf",_
	["x"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s20adfResult"::S,"x"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s20adfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s21baf(xArg:DoubleFloat,yArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s21baf",_
	["x"::S,"y"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s21bafResult"::S,"x"::S,"y"::S_
	]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s21bafResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,yArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s21bbf(xArg:DoubleFloat,yArg:DoubleFloat,zArg:DoubleFloat,_
	ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s21bbf",_
	["x"::S,"y"::S,"z"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s21bbfResult"::S,"x"::S,"y"::S_
	,"z"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s21bbfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,yArg::Any,zArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s21bcf(xArg:DoubleFloat,yArg:DoubleFloat,zArg:DoubleFloat,_
	ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s21bcf",_
	["x"::S,"y"::S,"z"::S,"ifail"::S]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s21bcfResult"::S,"x"::S,"y"::S_
	,"z"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s21bcfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,yArg::Any,zArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

    s21bdf(xArg:DoubleFloat,yArg:DoubleFloat,zArg:DoubleFloat,_
	rArg:DoubleFloat,ifailArg:Integer): Result == 
	[(invokeNagman(NIL$Lisp,_
	"s21bdf",_
	["x"::S,"y"::S,"z"::S,"r"::S,"ifail"::S_
	]$Lisp,_
	[]$Lisp,_
	[["double"::S,"s21bdfResult"::S,"x"::S,"y"::S_
	,"z"::S,"r"::S]$Lisp_
	,["integer"::S,"ifail"::S]$Lisp_
	]$Lisp,_
	["s21bdfResult"::S,"ifail"::S]$Lisp,_
	[([xArg::Any,yArg::Any,zArg::Any,rArg::Any,ifailArg::Any ])_
	@List Any]$Lisp)$Lisp)_
	pretend List (Record(key:Symbol,entry:Any))]$Result

@
\section{License}
<<license>>=
--Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
--All rights reserved.
--
--Redistribution and use in source and binary forms, with or without
--modification, are permitted provided that the following conditions are
--met:
--
--    - Redistributions of source code must retain the above copyright
--      notice, this list of conditions and the following disclaimer.
--
--    - Redistributions in binary form must reproduce the above copyright
--      notice, this list of conditions and the following disclaimer in
--      the documentation and/or other materials provided with the
--      distribution.
--
--    - Neither the name of The Numerical ALgorithms Group Ltd. nor the
--      names of its contributors may be used to endorse or promote products
--      derived from this software without specific prior written permission.
--
--THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
--IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
--TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
--PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
--OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
--EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
--PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
--PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
--LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
--NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
--SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@
<<*>>=
<<license>>

<<package NAGS NagSpecialFunctionsPackage>>
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}