-
Notifications
You must be signed in to change notification settings - Fork 7
/
libgsl.scm
3074 lines (2950 loc) · 187 KB
/
libgsl.scm
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
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;;; libgsl.scm
;;;
;;; tie the gsl library into the *libgsl* environment
#|
2.1: gsl_multilarge.h
+ double
+ gsl_multifit_linear_rcond (const gsl_multifit_linear_workspace * w);
+
changes to sigs in multifit.h
2.2:
gsl_multifit_nlinear.h
gsl_multilarge_nlinear.h
gsl_permute_matrix_char.h
gsl_permute_matrix_complex_double.h and float/long double and all other types
many other additions/sig changes (triangular matrices primiarily)
|#
(require cload.scm)
(provide 'libgsl.scm)
;; if loading from a different directory, pass that info to C
(let ((directory (let ((current-file (port-filename)))
(and (memv (current-file 0) '(#\/ #\~))
(substring current-file 0 (- (length current-file) 9))))))
(when (and directory (not (member directory *load-path*)))
(set! *load-path* (cons directory *load-path*)))
(with-let (rootlet)
(require cload.scm))
(when (and directory (not (string-position directory *cload-cflags*)))
(set! *cload-cflags* (string-append "-I" directory " " *cload-cflags*))))
(when (provided? 'pure-s7)
(define (make-polar mag ang)
(if (and (real? mag) (real? ang))
(complex (* mag (cos ang)) (* mag (sin ang)))
(error 'wrong-type-arg "make-polar args should be real"))))
;; since we might be loading this locally, reader-cond (in that case) won't find gsl-version unless...
(unless (defined? '*libgsl*)
(with-let (rootlet)
(define gsl-version 0.0) ; define at top-level no matter where we are now
(when (and (provided? 'linux)
(defined? 'system))
(let* ((version (system "pkg-config gsl --modversion" #t))
(len (length version)))
(when (positive? len)
(set! gsl-version (string->number (if (char=? (version (- len 1)) #\newline)
(substring version 0 (- len 1))
version)))
(unless (number? gsl-version) ; "2.2.1" -> 2.2?
(let ((i1 (char-position #\. version (+ (char-position #\. version) 1))))
(if (integer? i1)
(set! gsl-version (string->number (substring version 0 i1)))))))))))
(unless (defined? '*libgsl*)
(define *libgsl*
(with-let (unlet)
(set! *libraries* (cons (cons "libgsl.scm" (curlet)) *libraries*))
(define GSL_REAL real-part)
(define GSL_IMAG imag-part)
(define GSL_COMPLEX_EQ equal?)
(define GSL_COMPLEX_ONE 1.0)
(define GSL_COMPLEX_ZERO 0.0)
(define GSL_COMPLEX_NEGONE -1.0)
(define gsl_complex_polar make-polar)
(define gsl_complex_rect complex)
(define GSL_IS_ODD odd?)
(define GSL_IS_EVEN even?)
(define (GSL_IS_REAL n) (and (number? n) (not (nan? n)) (not (infinite? n))))
(define (GSL_SIGN x) (if (negative? x) -1 1))
(define GSL_MAX max)
(define GSL_MIN min)
(define GSL_MAX_INT max)
(define GSL_MIN_INT min)
(define GSL_MAX_DBL max)
(define GSL_MIN_DBL min)
(define gsl_max max)
(define gsl_min min)
(c-define
'((C-macro (double (GSL_CONST_CGS_SPEED_OF_LIGHT GSL_CONST_CGS_GRAVITATIONAL_CONSTANT GSL_CONST_CGS_PLANCKS_CONSTANT_H
GSL_CONST_CGS_PLANCKS_CONSTANT_HBAR GSL_CONST_CGS_ASTRONOMICAL_UNIT GSL_CONST_CGS_LIGHT_YEAR
GSL_CONST_CGS_PARSEC GSL_CONST_CGS_GRAV_ACCEL GSL_CONST_CGS_ELECTRON_VOLT GSL_CONST_CGS_MASS_ELECTRON
GSL_CONST_CGS_MASS_MUON GSL_CONST_CGS_MASS_PROTON GSL_CONST_CGS_MASS_NEUTRON GSL_CONST_CGS_RYDBERG
GSL_CONST_CGS_BOLTZMANN GSL_CONST_CGS_MOLAR_GAS GSL_CONST_CGS_STANDARD_GAS_VOLUME GSL_CONST_CGS_MINUTE
GSL_CONST_CGS_HOUR GSL_CONST_CGS_DAY GSL_CONST_CGS_WEEK GSL_CONST_CGS_INCH GSL_CONST_CGS_FOOT
GSL_CONST_CGS_YARD GSL_CONST_CGS_MILE GSL_CONST_CGS_NAUTICAL_MILE GSL_CONST_CGS_FATHOM GSL_CONST_CGS_MIL
GSL_CONST_CGS_POINT GSL_CONST_CGS_TEXPOINT GSL_CONST_CGS_MICRON GSL_CONST_CGS_ANGSTROM GSL_CONST_CGS_HECTARE
GSL_CONST_CGS_ACRE GSL_CONST_CGS_BARN GSL_CONST_CGS_LITER GSL_CONST_CGS_US_GALLON GSL_CONST_CGS_QUART
GSL_CONST_CGS_PINT GSL_CONST_CGS_CUP GSL_CONST_CGS_FLUID_OUNCE GSL_CONST_CGS_TABLESPOON GSL_CONST_CGS_TEASPOON
GSL_CONST_CGS_CANADIAN_GALLON GSL_CONST_CGS_UK_GALLON GSL_CONST_CGS_MILES_PER_HOUR GSL_CONST_CGS_KILOMETERS_PER_HOUR
GSL_CONST_CGS_KNOT GSL_CONST_CGS_POUND_MASS GSL_CONST_CGS_OUNCE_MASS GSL_CONST_CGS_TON GSL_CONST_CGS_METRIC_TON
GSL_CONST_CGS_UK_TON GSL_CONST_CGS_TROY_OUNCE GSL_CONST_CGS_CARAT GSL_CONST_CGS_UNIFIED_ATOMIC_MASS
GSL_CONST_CGS_GRAM_FORCE GSL_CONST_CGS_POUND_FORCE GSL_CONST_CGS_KILOPOUND_FORCE GSL_CONST_CGS_POUNDAL
GSL_CONST_CGS_CALORIE GSL_CONST_CGS_BTU GSL_CONST_CGS_THERM GSL_CONST_CGS_HORSEPOWER GSL_CONST_CGS_BAR
GSL_CONST_CGS_STD_ATMOSPHERE GSL_CONST_CGS_TORR GSL_CONST_CGS_METER_OF_MERCURY GSL_CONST_CGS_INCH_OF_MERCURY
GSL_CONST_CGS_INCH_OF_WATER GSL_CONST_CGS_PSI GSL_CONST_CGS_POISE GSL_CONST_CGS_STOKES GSL_CONST_CGS_STILB
GSL_CONST_CGS_LUMEN GSL_CONST_CGS_LUX GSL_CONST_CGS_PHOT GSL_CONST_CGS_FOOTCANDLE GSL_CONST_CGS_LAMBERT
GSL_CONST_CGS_FOOTLAMBERT GSL_CONST_CGS_CURIE GSL_CONST_CGS_ROENTGEN GSL_CONST_CGS_RAD GSL_CONST_CGS_SOLAR_MASS
GSL_CONST_CGS_BOHR_RADIUS GSL_CONST_CGS_NEWTON GSL_CONST_CGS_DYNE GSL_CONST_CGS_JOULE GSL_CONST_CGS_ERG
GSL_CONST_CGS_STEFAN_BOLTZMANN_CONSTANT GSL_CONST_CGS_THOMSON_CROSS_SECTION GSL_CONST_CGSM_SPEED_OF_LIGHT
GSL_CONST_CGSM_GRAVITATIONAL_CONSTANT GSL_CONST_CGSM_PLANCKS_CONSTANT_H GSL_CONST_CGSM_PLANCKS_CONSTANT_HBAR
GSL_CONST_CGSM_ASTRONOMICAL_UNIT GSL_CONST_CGSM_LIGHT_YEAR GSL_CONST_CGSM_PARSEC GSL_CONST_CGSM_GRAV_ACCEL
GSL_CONST_CGSM_ELECTRON_VOLT GSL_CONST_CGSM_MASS_ELECTRON GSL_CONST_CGSM_MASS_MUON GSL_CONST_CGSM_MASS_PROTON
GSL_CONST_CGSM_MASS_NEUTRON GSL_CONST_CGSM_RYDBERG GSL_CONST_CGSM_BOLTZMANN GSL_CONST_CGSM_MOLAR_GAS
GSL_CONST_CGSM_STANDARD_GAS_VOLUME GSL_CONST_CGSM_MINUTE GSL_CONST_CGSM_HOUR GSL_CONST_CGSM_DAY
GSL_CONST_CGSM_WEEK GSL_CONST_CGSM_INCH GSL_CONST_CGSM_FOOT GSL_CONST_CGSM_YARD GSL_CONST_CGSM_MILE
GSL_CONST_CGSM_NAUTICAL_MILE GSL_CONST_CGSM_FATHOM GSL_CONST_CGSM_MIL GSL_CONST_CGSM_POINT GSL_CONST_CGSM_TEXPOINT
GSL_CONST_CGSM_MICRON GSL_CONST_CGSM_ANGSTROM GSL_CONST_CGSM_HECTARE GSL_CONST_CGSM_ACRE GSL_CONST_CGSM_BARN
GSL_CONST_CGSM_LITER GSL_CONST_CGSM_US_GALLON GSL_CONST_CGSM_QUART GSL_CONST_CGSM_PINT GSL_CONST_CGSM_CUP
GSL_CONST_CGSM_FLUID_OUNCE GSL_CONST_CGSM_TABLESPOON GSL_CONST_CGSM_TEASPOON GSL_CONST_CGSM_CANADIAN_GALLON
GSL_CONST_CGSM_UK_GALLON GSL_CONST_CGSM_MILES_PER_HOUR GSL_CONST_CGSM_KILOMETERS_PER_HOUR GSL_CONST_CGSM_KNOT
GSL_CONST_CGSM_POUND_MASS GSL_CONST_CGSM_OUNCE_MASS GSL_CONST_CGSM_TON GSL_CONST_CGSM_METRIC_TON
GSL_CONST_CGSM_UK_TON GSL_CONST_CGSM_TROY_OUNCE GSL_CONST_CGSM_CARAT GSL_CONST_CGSM_UNIFIED_ATOMIC_MASS
GSL_CONST_CGSM_GRAM_FORCE GSL_CONST_CGSM_POUND_FORCE GSL_CONST_CGSM_KILOPOUND_FORCE GSL_CONST_CGSM_POUNDAL
GSL_CONST_CGSM_CALORIE GSL_CONST_CGSM_BTU GSL_CONST_CGSM_THERM GSL_CONST_CGSM_HORSEPOWER GSL_CONST_CGSM_BAR
GSL_CONST_CGSM_STD_ATMOSPHERE GSL_CONST_CGSM_TORR GSL_CONST_CGSM_METER_OF_MERCURY GSL_CONST_CGSM_INCH_OF_MERCURY
GSL_CONST_CGSM_INCH_OF_WATER GSL_CONST_CGSM_PSI GSL_CONST_CGSM_POISE GSL_CONST_CGSM_STOKES GSL_CONST_CGSM_STILB
GSL_CONST_CGSM_LUMEN GSL_CONST_CGSM_LUX GSL_CONST_CGSM_PHOT GSL_CONST_CGSM_FOOTCANDLE GSL_CONST_CGSM_LAMBERT
GSL_CONST_CGSM_FOOTLAMBERT GSL_CONST_CGSM_CURIE GSL_CONST_CGSM_ROENTGEN GSL_CONST_CGSM_RAD GSL_CONST_CGSM_SOLAR_MASS
GSL_CONST_CGSM_BOHR_RADIUS GSL_CONST_CGSM_NEWTON GSL_CONST_CGSM_DYNE GSL_CONST_CGSM_JOULE GSL_CONST_CGSM_ERG
GSL_CONST_CGSM_STEFAN_BOLTZMANN_CONSTANT GSL_CONST_CGSM_THOMSON_CROSS_SECTION GSL_CONST_CGSM_BOHR_MAGNETON
GSL_CONST_CGSM_NUCLEAR_MAGNETON GSL_CONST_CGSM_ELECTRON_MAGNETIC_MOMENT GSL_CONST_CGSM_PROTON_MAGNETIC_MOMENT
GSL_CONST_CGSM_FARADAY GSL_CONST_CGSM_ELECTRON_CHARGE GSL_CONST_MKS_SPEED_OF_LIGHT GSL_CONST_MKS_GRAVITATIONAL_CONSTANT
GSL_CONST_MKS_PLANCKS_CONSTANT_H GSL_CONST_MKS_PLANCKS_CONSTANT_HBAR GSL_CONST_MKS_ASTRONOMICAL_UNIT
GSL_CONST_MKS_LIGHT_YEAR GSL_CONST_MKS_PARSEC GSL_CONST_MKS_GRAV_ACCEL GSL_CONST_MKS_ELECTRON_VOLT
GSL_CONST_MKS_MASS_ELECTRON GSL_CONST_MKS_MASS_MUON GSL_CONST_MKS_MASS_PROTON GSL_CONST_MKS_MASS_NEUTRON
GSL_CONST_MKS_RYDBERG GSL_CONST_MKS_BOLTZMANN GSL_CONST_MKS_MOLAR_GAS GSL_CONST_MKS_STANDARD_GAS_VOLUME
GSL_CONST_MKS_MINUTE GSL_CONST_MKS_HOUR GSL_CONST_MKS_DAY GSL_CONST_MKS_WEEK GSL_CONST_MKS_INCH GSL_CONST_MKS_FOOT
GSL_CONST_MKS_YARD GSL_CONST_MKS_MILE GSL_CONST_MKS_NAUTICAL_MILE GSL_CONST_MKS_FATHOM GSL_CONST_MKS_MIL
GSL_CONST_MKS_POINT GSL_CONST_MKS_TEXPOINT GSL_CONST_MKS_MICRON GSL_CONST_MKS_ANGSTROM GSL_CONST_MKS_HECTARE
GSL_CONST_MKS_ACRE GSL_CONST_MKS_BARN GSL_CONST_MKS_LITER GSL_CONST_MKS_US_GALLON GSL_CONST_MKS_QUART
GSL_CONST_MKS_PINT GSL_CONST_MKS_CUP GSL_CONST_MKS_FLUID_OUNCE GSL_CONST_MKS_TABLESPOON GSL_CONST_MKS_TEASPOON
GSL_CONST_MKS_CANADIAN_GALLON GSL_CONST_MKS_UK_GALLON GSL_CONST_MKS_MILES_PER_HOUR GSL_CONST_MKS_KILOMETERS_PER_HOUR
GSL_CONST_MKS_KNOT GSL_CONST_MKS_POUND_MASS GSL_CONST_MKS_OUNCE_MASS GSL_CONST_MKS_TON GSL_CONST_MKS_METRIC_TON
GSL_CONST_MKS_UK_TON GSL_CONST_MKS_TROY_OUNCE GSL_CONST_MKS_CARAT GSL_CONST_MKS_UNIFIED_ATOMIC_MASS
GSL_CONST_MKS_GRAM_FORCE GSL_CONST_MKS_POUND_FORCE GSL_CONST_MKS_KILOPOUND_FORCE GSL_CONST_MKS_POUNDAL
GSL_CONST_MKS_CALORIE GSL_CONST_MKS_BTU GSL_CONST_MKS_THERM GSL_CONST_MKS_HORSEPOWER GSL_CONST_MKS_BAR
GSL_CONST_MKS_STD_ATMOSPHERE GSL_CONST_MKS_TORR GSL_CONST_MKS_METER_OF_MERCURY GSL_CONST_MKS_INCH_OF_MERCURY
GSL_CONST_MKS_INCH_OF_WATER GSL_CONST_MKS_PSI GSL_CONST_MKS_POISE GSL_CONST_MKS_STOKES GSL_CONST_MKS_STILB
GSL_CONST_MKS_LUMEN GSL_CONST_MKS_LUX GSL_CONST_MKS_PHOT GSL_CONST_MKS_FOOTCANDLE GSL_CONST_MKS_LAMBERT GSL_CONST_MKS_FOOTLAMBERT
GSL_CONST_MKS_CURIE GSL_CONST_MKS_ROENTGEN GSL_CONST_MKS_RAD GSL_CONST_MKS_SOLAR_MASS GSL_CONST_MKS_BOHR_RADIUS
GSL_CONST_MKS_NEWTON GSL_CONST_MKS_DYNE GSL_CONST_MKS_JOULE GSL_CONST_MKS_ERG GSL_CONST_MKS_STEFAN_BOLTZMANN_CONSTANT
GSL_CONST_MKS_THOMSON_CROSS_SECTION GSL_CONST_MKS_BOHR_MAGNETON GSL_CONST_MKS_NUCLEAR_MAGNETON
GSL_CONST_MKS_ELECTRON_MAGNETIC_MOMENT GSL_CONST_MKS_PROTON_MAGNETIC_MOMENT GSL_CONST_MKS_FARADAY
GSL_CONST_MKS_ELECTRON_CHARGE GSL_CONST_MKS_VACUUM_PERMITTIVITY GSL_CONST_MKS_VACUUM_PERMEABILITY GSL_CONST_MKS_DEBYE
GSL_CONST_MKS_GAUSS GSL_CONST_MKSA_SPEED_OF_LIGHT GSL_CONST_MKSA_GRAVITATIONAL_CONSTANT GSL_CONST_MKSA_PLANCKS_CONSTANT_H
GSL_CONST_MKSA_PLANCKS_CONSTANT_HBAR GSL_CONST_MKSA_ASTRONOMICAL_UNIT GSL_CONST_MKSA_LIGHT_YEAR GSL_CONST_MKSA_PARSEC
GSL_CONST_MKSA_GRAV_ACCEL GSL_CONST_MKSA_ELECTRON_VOLT GSL_CONST_MKSA_MASS_ELECTRON GSL_CONST_MKSA_MASS_MUON
GSL_CONST_MKSA_MASS_PROTON GSL_CONST_MKSA_MASS_NEUTRON GSL_CONST_MKSA_RYDBERG GSL_CONST_MKSA_BOLTZMANN
GSL_CONST_MKSA_MOLAR_GAS GSL_CONST_MKSA_STANDARD_GAS_VOLUME GSL_CONST_MKSA_MINUTE GSL_CONST_MKSA_HOUR
GSL_CONST_MKSA_DAY GSL_CONST_MKSA_WEEK GSL_CONST_MKSA_INCH GSL_CONST_MKSA_FOOT GSL_CONST_MKSA_YARD
GSL_CONST_MKSA_MILE GSL_CONST_MKSA_NAUTICAL_MILE GSL_CONST_MKSA_FATHOM GSL_CONST_MKSA_MIL GSL_CONST_MKSA_POINT
GSL_CONST_MKSA_TEXPOINT GSL_CONST_MKSA_MICRON GSL_CONST_MKSA_ANGSTROM GSL_CONST_MKSA_HECTARE GSL_CONST_MKSA_ACRE
GSL_CONST_MKSA_BARN GSL_CONST_MKSA_LITER GSL_CONST_MKSA_US_GALLON GSL_CONST_MKSA_QUART GSL_CONST_MKSA_PINT
GSL_CONST_MKSA_CUP GSL_CONST_MKSA_FLUID_OUNCE GSL_CONST_MKSA_TABLESPOON GSL_CONST_MKSA_TEASPOON GSL_CONST_MKSA_CANADIAN_GALLON
GSL_CONST_MKSA_UK_GALLON GSL_CONST_MKSA_MILES_PER_HOUR GSL_CONST_MKSA_KILOMETERS_PER_HOUR GSL_CONST_MKSA_KNOT
GSL_CONST_MKSA_POUND_MASS GSL_CONST_MKSA_OUNCE_MASS GSL_CONST_MKSA_TON GSL_CONST_MKSA_METRIC_TON GSL_CONST_MKSA_UK_TON
GSL_CONST_MKSA_TROY_OUNCE GSL_CONST_MKSA_CARAT GSL_CONST_MKSA_UNIFIED_ATOMIC_MASS GSL_CONST_MKSA_GRAM_FORCE
GSL_CONST_MKSA_POUND_FORCE GSL_CONST_MKSA_KILOPOUND_FORCE GSL_CONST_MKSA_POUNDAL GSL_CONST_MKSA_CALORIE GSL_CONST_MKSA_BTU
GSL_CONST_MKSA_THERM GSL_CONST_MKSA_HORSEPOWER GSL_CONST_MKSA_BAR GSL_CONST_MKSA_STD_ATMOSPHERE GSL_CONST_MKSA_TORR
GSL_CONST_MKSA_METER_OF_MERCURY GSL_CONST_MKSA_INCH_OF_MERCURY GSL_CONST_MKSA_INCH_OF_WATER GSL_CONST_MKSA_PSI
GSL_CONST_MKSA_POISE GSL_CONST_MKSA_STOKES GSL_CONST_MKSA_STILB GSL_CONST_MKSA_LUMEN GSL_CONST_MKSA_LUX GSL_CONST_MKSA_PHOT
GSL_CONST_MKSA_FOOTCANDLE GSL_CONST_MKSA_LAMBERT GSL_CONST_MKSA_FOOTLAMBERT GSL_CONST_MKSA_CURIE GSL_CONST_MKSA_ROENTGEN
GSL_CONST_MKSA_RAD GSL_CONST_MKSA_SOLAR_MASS GSL_CONST_MKSA_BOHR_RADIUS GSL_CONST_MKSA_NEWTON GSL_CONST_MKSA_DYNE
GSL_CONST_MKSA_JOULE GSL_CONST_MKSA_ERG GSL_CONST_MKSA_STEFAN_BOLTZMANN_CONSTANT GSL_CONST_MKSA_THOMSON_CROSS_SECTION
GSL_CONST_MKSA_BOHR_MAGNETON GSL_CONST_MKSA_NUCLEAR_MAGNETON GSL_CONST_MKSA_ELECTRON_MAGNETIC_MOMENT
GSL_CONST_MKSA_PROTON_MAGNETIC_MOMENT GSL_CONST_MKSA_FARADAY GSL_CONST_MKSA_ELECTRON_CHARGE GSL_CONST_MKSA_VACUUM_PERMITTIVITY
GSL_CONST_MKSA_VACUUM_PERMEABILITY GSL_CONST_MKSA_DEBYE GSL_CONST_MKSA_GAUSS GSL_CONST_NUM_FINE_STRUCTURE GSL_CONST_NUM_AVOGADRO
GSL_CONST_NUM_YOTTA GSL_CONST_NUM_ZETTA GSL_CONST_NUM_EXA GSL_CONST_NUM_PETA GSL_CONST_NUM_TERA GSL_CONST_NUM_GIGA
GSL_CONST_NUM_MEGA GSL_CONST_NUM_KILO GSL_CONST_NUM_MILLI GSL_CONST_NUM_MICRO GSL_CONST_NUM_NANO GSL_CONST_NUM_PICO
GSL_CONST_NUM_FEMTO GSL_CONST_NUM_ATTO GSL_CONST_NUM_ZEPTO GSL_CONST_NUM_YOCTO
GSL_DBL_EPSILON GSL_SQRT_DBL_EPSILON GSL_ROOT3_DBL_EPSILON GSL_ROOT4_DBL_EPSILON GSL_ROOT5_DBL_EPSILON
GSL_ROOT6_DBL_EPSILON GSL_LOG_DBL_EPSILON GSL_DBL_MIN GSL_SQRT_DBL_MIN GSL_ROOT3_DBL_MIN GSL_ROOT4_DBL_MIN
GSL_ROOT5_DBL_MIN GSL_ROOT6_DBL_MIN GSL_LOG_DBL_MIN GSL_DBL_MAX GSL_SQRT_DBL_MAX GSL_ROOT3_DBL_MAX
GSL_ROOT4_DBL_MAX GSL_ROOT5_DBL_MAX GSL_ROOT6_DBL_MAX GSL_LOG_DBL_MAX GSL_FLT_EPSILON GSL_SQRT_FLT_EPSILON
GSL_ROOT3_FLT_EPSILON GSL_ROOT4_FLT_EPSILON GSL_ROOT5_FLT_EPSILON GSL_ROOT6_FLT_EPSILON GSL_LOG_FLT_EPSILON
GSL_FLT_MIN GSL_SQRT_FLT_MIN GSL_ROOT3_FLT_MIN GSL_ROOT4_FLT_MIN GSL_ROOT5_FLT_MIN GSL_ROOT6_FLT_MIN
GSL_LOG_FLT_MIN GSL_FLT_MAX GSL_SQRT_FLT_MAX GSL_ROOT3_FLT_MAX GSL_ROOT4_FLT_MAX GSL_ROOT5_FLT_MAX
GSL_ROOT6_FLT_MAX GSL_LOG_FLT_MAX GSL_SFLT_EPSILON GSL_SQRT_SFLT_EPSILON GSL_ROOT3_SFLT_EPSILON GSL_ROOT4_SFLT_EPSILON
GSL_ROOT5_SFLT_EPSILON GSL_ROOT6_SFLT_EPSILON GSL_LOG_SFLT_EPSILON GSL_MACH_EPS GSL_SQRT_MACH_EPS GSL_ROOT3_MACH_EPS
GSL_ROOT4_MACH_EPS GSL_ROOT5_MACH_EPS GSL_ROOT6_MACH_EPS GSL_LOG_MACH_EPS)))
(int (GSL_SUCCESS GSL_FAILURE GSL_CONTINUE GSL_EDOM GSL_ERANGE GSL_EFAULT GSL_EINVAL GSL_EFAILED GSL_EFACTOR GSL_ESANITY
GSL_ENOMEM GSL_EBADFUNC GSL_ERUNAWAY GSL_EMAXITER GSL_EZERODIV GSL_EBADTOL GSL_ETOL GSL_EUNDRFLW GSL_EOVRFLW
GSL_ELOSS GSL_EROUND GSL_EBADLEN GSL_ENOTSQR GSL_ESING GSL_EDIVERGE GSL_EUNSUP GSL_EUNIMPL GSL_ECACHE GSL_ETABLE
GSL_ENOPROG GSL_ENOPROGJ GSL_ETOLF GSL_ETOLX GSL_ETOLG GSL_EOF
GSL_IEEE_ROUND_TO_NEAREST GSL_IEEE_ROUND_DOWN GSL_IEEE_ROUND_UP GSL_IEEE_ROUND_TO_ZERO GSL_IEEE_MASK_INVALID
GSL_IEEE_MASK_DENORMALIZED GSL_IEEE_MASK_DIVISION_BY_ZERO GSL_IEEE_MASK_OVERFLOW GSL_IEEE_MASK_UNDERFLOW
GSL_IEEE_MASK_ALL GSL_IEEE_TRAP_INEXACT
GSL_INTEG_GAUSS15 GSL_INTEG_GAUSS21 GSL_INTEG_GAUSS31 GSL_INTEG_GAUSS41 GSL_INTEG_GAUSS51 GSL_INTEG_GAUSS61
GSL_EIGEN_SORT_VAL_ASC GSL_EIGEN_SORT_VAL_DESC GSL_EIGEN_SORT_ABS_ASC GSL_EIGEN_SORT_ABS_DESC
gsl_fft_forward gsl_fft_backward
GSL_IEEE_TYPE_NAN GSL_IEEE_TYPE_INF GSL_IEEE_TYPE_NORMAL GSL_IEEE_TYPE_DENORMAL GSL_IEEE_TYPE_ZERO
GSL_IEEE_SINGLE_PRECISION GSL_IEEE_DOUBLE_PRECISION GSL_IEEE_EXTENDED_PRECISION GSL_LINALG_MOD_NONE
GSL_LINALG_MOD_TRANSPOSE GSL_LINALG_MOD_CONJUGATE
GSL_MESSAGE_MASK_A GSL_MESSAGE_MASK_B GSL_MESSAGE_MASK_C GSL_MESSAGE_MASK_D GSL_MESSAGE_MASK_E
GSL_MESSAGE_MASK_F GSL_MESSAGE_MASK_G GSL_MESSAGE_MASK_H
gsl_wavelet_forward gsl_wavelet_backward))
(C-macro (int (GSL_PREC_DOUBLE GSL_PREC_SINGLE GSL_PREC_APPROX GSL_SF_MATHIEU_COEFF GSL_SF_FACT_NMAX GSL_SF_DOUBLEFACT_NMAX
GSL_MAJOR_VERSION GSL_MINOR_VERSION
GSL_MODE_DEFAULT
GSL_INTEG_COSINE GSL_INTEG_SINE)))
(C-macro (double (GSL_SF_GAMMA_XMAX
GSL_POSINF GSL_NEGINF GSL_NAN GSL_POSZERO GSL_NEGZERO)))
(C-macro (char* GSL_VERSION))
(int (CblasRowMajor CblasColMajor CblasNoTrans CblasTrans CblasConjTrans
CblasUpper CblasLower CblasNonUnit CblasUnit CblasLeft CblasRight))
;; redirect GSL errors to s7_error
(in-C "static s7_scheme *gsl_error_s7;
static void g_gsl_error(const char *reason, const char *file, int line, int gsl_errno)
{
s7_error(gsl_error_s7, s7_make_symbol(gsl_error_s7, \"gsl-error\"),
s7_list(gsl_error_s7, 5,
s7_make_string(gsl_error_s7, \"GSL: ~A, ~A in ~A line ~A\"),
s7_make_string(gsl_error_s7, gsl_strerror(gsl_errno)),
s7_make_string(gsl_error_s7, reason),
s7_make_string(gsl_error_s7, file),
s7_make_integer(gsl_error_s7, line)));
}")
(C-init "gsl_error_s7 = sc;")
(C-init "gsl_set_error_handler(g_gsl_error);")
(C-macro (int (GSL_SF_LEGENDRE_SCHMIDT GSL_SF_LEGENDRE_SPHARM GSL_SF_LEGENDRE_FULL GSL_SF_LEGENDRE_NONE)))
;; special functions
;; ((*libgsl* 'gsl_sf_bessel_J0) 1.0) -> 0.7651976865579666
;; (let ((sfr ((*libgsl* 'gsl_sf_result.make)))) ((*libgsl* 'gsl_sf_bessel_J0_e) 1.0 sfr) ((*libgsl* 'gsl_sf_result.val) sfr))
(int gsl_sf_airy_Ai_e (double int gsl_sf_result*))
(double gsl_sf_airy_Ai (double int))
(int gsl_sf_airy_Bi_e (double int gsl_sf_result*))
(double gsl_sf_airy_Bi (double int))
(int gsl_sf_airy_Ai_scaled_e (double int gsl_sf_result*))
(double gsl_sf_airy_Ai_scaled (double int))
(int gsl_sf_airy_Bi_scaled_e (double int gsl_sf_result*))
(double gsl_sf_airy_Bi_scaled (double int))
(int gsl_sf_airy_Ai_deriv_e (double int gsl_sf_result*))
(double gsl_sf_airy_Ai_deriv (double int))
(int gsl_sf_airy_Bi_deriv_e (double int gsl_sf_result*))
(double gsl_sf_airy_Bi_deriv (double int))
(int gsl_sf_airy_Ai_deriv_scaled_e (double int gsl_sf_result*))
(double gsl_sf_airy_Ai_deriv_scaled (double int))
(int gsl_sf_airy_Bi_deriv_scaled_e (double int gsl_sf_result*))
(double gsl_sf_airy_Bi_deriv_scaled (double int))
(int gsl_sf_airy_zero_Ai_e (int gsl_sf_result*))
(double gsl_sf_airy_zero_Ai (int))
(int gsl_sf_airy_zero_Bi_e (int gsl_sf_result*))
(double gsl_sf_airy_zero_Bi (int))
(int gsl_sf_airy_zero_Ai_deriv_e (int gsl_sf_result*))
(double gsl_sf_airy_zero_Ai_deriv (int))
(int gsl_sf_airy_zero_Bi_deriv_e (int gsl_sf_result*))
(double gsl_sf_airy_zero_Bi_deriv (int))
(int gsl_sf_bessel_J0_e (double gsl_sf_result*))
(double gsl_sf_bessel_J0 (double))
(int gsl_sf_bessel_J1_e (double gsl_sf_result*))
(double gsl_sf_bessel_J1 (double))
(int gsl_sf_bessel_Jn_e (int double gsl_sf_result*))
(double gsl_sf_bessel_Jn (int double))
(int gsl_sf_bessel_Jn_array (int int double double*))
(int gsl_sf_bessel_Y0_e (double gsl_sf_result*))
(double gsl_sf_bessel_Y0 (double))
(int gsl_sf_bessel_Y1_e (double gsl_sf_result*))
(double gsl_sf_bessel_Y1 (double))
(int gsl_sf_bessel_Yn_e (int double gsl_sf_result*))
(double gsl_sf_bessel_Yn (int double))
(int gsl_sf_bessel_Yn_array (int int double double*))
(int gsl_sf_bessel_I0_e (double gsl_sf_result*))
(double gsl_sf_bessel_I0 (double))
(int gsl_sf_bessel_I1_e (double gsl_sf_result*))
(double gsl_sf_bessel_I1 (double))
(int gsl_sf_bessel_In_e (int double gsl_sf_result*))
(double gsl_sf_bessel_In (int double))
(int gsl_sf_bessel_In_array (int int double double*))
(int gsl_sf_bessel_I0_scaled_e (double gsl_sf_result*))
(double gsl_sf_bessel_I0_scaled (double))
(int gsl_sf_bessel_I1_scaled_e (double gsl_sf_result*))
(double gsl_sf_bessel_I1_scaled (double))
(int gsl_sf_bessel_In_scaled_e (int double gsl_sf_result*))
(double gsl_sf_bessel_In_scaled (int double))
(int gsl_sf_bessel_In_scaled_array (int int double double*))
(int gsl_sf_bessel_K0_e (double gsl_sf_result*))
(double gsl_sf_bessel_K0 (double))
(int gsl_sf_bessel_K1_e (double gsl_sf_result*))
(double gsl_sf_bessel_K1 (double))
(int gsl_sf_bessel_Kn_e (int double gsl_sf_result*))
(double gsl_sf_bessel_Kn (int double))
(int gsl_sf_bessel_Kn_array (int int double double*))
(int gsl_sf_bessel_K0_scaled_e (double gsl_sf_result*))
(double gsl_sf_bessel_K0_scaled (double))
(int gsl_sf_bessel_K1_scaled_e (double gsl_sf_result*) )
(double gsl_sf_bessel_K1_scaled (double))
(int gsl_sf_bessel_Kn_scaled_e (int double gsl_sf_result*))
(double gsl_sf_bessel_Kn_scaled (int double))
(int gsl_sf_bessel_Kn_scaled_array (int int double double*))
(int gsl_sf_bessel_j0_e (double gsl_sf_result*))
(double gsl_sf_bessel_j0 (double))
(int gsl_sf_bessel_j1_e (double gsl_sf_result*))
(double gsl_sf_bessel_j1 (double))
(int gsl_sf_bessel_j2_e (double gsl_sf_result*))
(double gsl_sf_bessel_j2 (double))
(int gsl_sf_bessel_jl_e (int double gsl_sf_result*))
(double gsl_sf_bessel_jl (int double))
(int gsl_sf_bessel_jl_array (int double double*))
(int gsl_sf_bessel_jl_steed_array (int double double*))
(int gsl_sf_bessel_y0_e (double gsl_sf_result*))
(double gsl_sf_bessel_y0 (double))
(int gsl_sf_bessel_y1_e (double gsl_sf_result*))
(double gsl_sf_bessel_y1 (double))
(int gsl_sf_bessel_y2_e (double gsl_sf_result*))
(double gsl_sf_bessel_y2 (double))
(int gsl_sf_bessel_yl_e (int double gsl_sf_result*))
(double gsl_sf_bessel_yl (int double))
(int gsl_sf_bessel_yl_array (int double double*))
(int gsl_sf_bessel_i0_scaled_e (double gsl_sf_result*))
(double gsl_sf_bessel_i0_scaled (double))
(int gsl_sf_bessel_i1_scaled_e (double gsl_sf_result*))
(double gsl_sf_bessel_i1_scaled (double))
(int gsl_sf_bessel_i2_scaled_e (double gsl_sf_result*))
(double gsl_sf_bessel_i2_scaled (double))
(int gsl_sf_bessel_il_scaled_e (int double gsl_sf_result*))
(double gsl_sf_bessel_il_scaled (int double))
(int gsl_sf_bessel_il_scaled_array (int double double*))
(int gsl_sf_bessel_k0_scaled_e (double gsl_sf_result*))
(double gsl_sf_bessel_k0_scaled (double))
(int gsl_sf_bessel_k1_scaled_e (double gsl_sf_result*))
(double gsl_sf_bessel_k1_scaled (double))
(int gsl_sf_bessel_k2_scaled_e (double gsl_sf_result*))
(double gsl_sf_bessel_k2_scaled (double))
(int gsl_sf_bessel_kl_scaled_e (int double gsl_sf_result*))
(double gsl_sf_bessel_kl_scaled (int double))
(int gsl_sf_bessel_kl_scaled_array (int double double*))
(int gsl_sf_bessel_Jnu_e (double double gsl_sf_result*))
(double gsl_sf_bessel_Jnu (double double))
(int gsl_sf_bessel_Ynu_e (double double gsl_sf_result*))
(double gsl_sf_bessel_Ynu (double double))
(int gsl_sf_bessel_sequence_Jnu_e (double int size_t double*))
(int gsl_sf_bessel_Inu_scaled_e (double double gsl_sf_result*))
(double gsl_sf_bessel_Inu_scaled (double double))
(int gsl_sf_bessel_Inu_e (double double gsl_sf_result*))
(double gsl_sf_bessel_Inu (double double))
(int gsl_sf_bessel_Knu_scaled_e (double double gsl_sf_result*))
(double gsl_sf_bessel_Knu_scaled (double double))
(reader-cond ((>= gsl-version 1.15) (int gsl_sf_bessel_Knu_scaled_e10_e (double double gsl_sf_result_e10*))))
(int gsl_sf_bessel_Knu_e (double double gsl_sf_result*))
(double gsl_sf_bessel_Knu (double double))
(int gsl_sf_bessel_lnKnu_e (double double gsl_sf_result*))
(double gsl_sf_bessel_lnKnu (double double))
(int gsl_sf_bessel_zero_J0_e (int gsl_sf_result*))
(double gsl_sf_bessel_zero_J0 (int))
(int gsl_sf_bessel_zero_J1_e (int gsl_sf_result*))
(double gsl_sf_bessel_zero_J1 (int))
(int gsl_sf_bessel_zero_Jnu_e (double int gsl_sf_result*))
(double gsl_sf_bessel_zero_Jnu (double int))
(int gsl_sf_clausen_e (double gsl_sf_result*))
(double gsl_sf_clausen (double))
(int gsl_sf_hydrogenicR_1_e (double double gsl_sf_result*))
(double gsl_sf_hydrogenicR_1 (double double))
(int gsl_sf_hydrogenicR_e (int int double double gsl_sf_result*))
(double gsl_sf_hydrogenicR (int int double double))
(int gsl_sf_coulomb_wave_FG_e (double double double int gsl_sf_result* gsl_sf_result* gsl_sf_result* gsl_sf_result* double* double*))
(int gsl_sf_coulomb_wave_F_array (double int double double double* double*))
(int gsl_sf_coulomb_wave_FG_array (double int double double double* double* double* double*))
(int gsl_sf_coulomb_wave_FGp_array (double int double double double* double* double* double* double* double*))
(int gsl_sf_coulomb_wave_sphF_array (double int double double double* double*))
(int gsl_sf_coulomb_CL_e (double double gsl_sf_result*))
(int gsl_sf_coulomb_CL_array (double int double double*))
(int gsl_sf_coupling_3j_e (int int int int int int gsl_sf_result*))
(double gsl_sf_coupling_3j (int int int int int int))
(int gsl_sf_coupling_6j_e (int int int int int int gsl_sf_result*))
(double gsl_sf_coupling_6j (int int int int int int))
(int gsl_sf_coupling_RacahW_e (int int int int int int gsl_sf_result*))
(double gsl_sf_coupling_RacahW (int int int int int int))
(int gsl_sf_coupling_9j_e (int int int int int int int int int gsl_sf_result*))
(double gsl_sf_coupling_9j (int int int int int int int int int))
(int gsl_sf_dawson_e (double gsl_sf_result*))
(double gsl_sf_dawson (double))
(int gsl_sf_debye_1_e (double gsl_sf_result*))
(double gsl_sf_debye_1 (double))
(int gsl_sf_debye_2_e (double gsl_sf_result*))
(double gsl_sf_debye_2 (double))
(int gsl_sf_debye_3_e (double gsl_sf_result*))
(double gsl_sf_debye_3 (double))
(int gsl_sf_debye_4_e (double gsl_sf_result*))
(double gsl_sf_debye_4 (double))
(int gsl_sf_debye_5_e (double gsl_sf_result*))
(double gsl_sf_debye_5 (double))
(int gsl_sf_debye_6_e (double gsl_sf_result*))
(double gsl_sf_debye_6 (double))
(int gsl_sf_dilog_e (double gsl_sf_result*))
(double gsl_sf_dilog (double))
(int gsl_sf_complex_dilog_xy_e (double double gsl_sf_result* gsl_sf_result*))
(int gsl_sf_complex_dilog_e (double double gsl_sf_result* gsl_sf_result*))
(int gsl_sf_complex_spence_xy_e (double double gsl_sf_result* gsl_sf_result*))
(int gsl_sf_multiply_e (double double gsl_sf_result*))
(double gsl_sf_multiply (double double))
(int gsl_sf_multiply_err_e (double double double double gsl_sf_result*))
(int gsl_sf_ellint_Kcomp_e (double int gsl_sf_result*))
(double gsl_sf_ellint_Kcomp (double int))
(int gsl_sf_ellint_Ecomp_e (double int gsl_sf_result*))
(double gsl_sf_ellint_Ecomp (double int))
(int gsl_sf_ellint_Pcomp_e (double double int gsl_sf_result*))
(double gsl_sf_ellint_Pcomp (double double int))
(int gsl_sf_ellint_Dcomp_e (double int gsl_sf_result*))
(double gsl_sf_ellint_Dcomp (double int))
(int gsl_sf_ellint_F_e (double double int gsl_sf_result*))
(double gsl_sf_ellint_F (double double int))
(int gsl_sf_ellint_E_e (double double int gsl_sf_result*))
(double gsl_sf_ellint_E (double double int))
(int gsl_sf_ellint_P_e (double double double int gsl_sf_result*))
(double gsl_sf_ellint_P (double double double int))
(reader-cond ((< gsl-version 2.0)
(int gsl_sf_ellint_D_e (double double double int gsl_sf_result*))
(double gsl_sf_ellint_D (double double double int)))
(#t
(int gsl_sf_ellint_D_e (double double int gsl_sf_result*))
(double gsl_sf_ellint_D (double double int))))
(int gsl_sf_ellint_RC_e (double double int gsl_sf_result*))
(double gsl_sf_ellint_RC (double double int))
(int gsl_sf_ellint_RD_e (double double double int gsl_sf_result*))
(double gsl_sf_ellint_RD (double double double int))
(int gsl_sf_ellint_RF_e (double double double int gsl_sf_result*))
(double gsl_sf_ellint_RF (double double double int))
(int gsl_sf_ellint_RJ_e (double double double double int gsl_sf_result*))
(double gsl_sf_ellint_RJ (double double double double int))
(int gsl_sf_elljac_e (double double double* double* double*)) ; these are double by reference
(int gsl_sf_erfc_e (double gsl_sf_result*))
(double gsl_sf_erfc (double))
(int gsl_sf_log_erfc_e (double gsl_sf_result*))
(double gsl_sf_log_erfc (double))
(int gsl_sf_erf_e (double gsl_sf_result*))
(double gsl_sf_erf (double))
(int gsl_sf_erf_Z_e (double gsl_sf_result*))
(int gsl_sf_erf_Q_e (double gsl_sf_result*))
(double gsl_sf_erf_Z (double))
(double gsl_sf_erf_Q (double))
(int gsl_sf_hazard_e (double gsl_sf_result*))
(double gsl_sf_hazard (double))
(int gsl_sf_exp_e (double gsl_sf_result*))
(double gsl_sf_exp (double))
(int gsl_sf_exp_e10_e (double gsl_sf_result_e10*))
(int gsl_sf_exp_mult_e (double double gsl_sf_result*))
(double gsl_sf_exp_mult (double double))
(int gsl_sf_exp_mult_e10_e (double double gsl_sf_result_e10*))
(int gsl_sf_expm1_e (double gsl_sf_result*))
(double gsl_sf_expm1 (double))
(int gsl_sf_exprel_e (double gsl_sf_result*))
(double gsl_sf_exprel (double))
(int gsl_sf_exprel_2_e (double gsl_sf_result*))
(double gsl_sf_exprel_2 (double))
(int gsl_sf_exprel_n_e (int double gsl_sf_result*))
(double gsl_sf_exprel_n (int double))
(int gsl_sf_exprel_n_CF_e (double double gsl_sf_result*))
(int gsl_sf_exp_err_e (double double gsl_sf_result*))
(int gsl_sf_exp_err_e10_e (double double gsl_sf_result_e10*))
(int gsl_sf_exp_mult_err_e (double double double double gsl_sf_result*))
(int gsl_sf_exp_mult_err_e10_e (double double double double gsl_sf_result_e10*))
(int gsl_sf_expint_E1_e (double gsl_sf_result*))
(double gsl_sf_expint_E1 (double))
(int gsl_sf_expint_E2_e (double gsl_sf_result*))
(double gsl_sf_expint_E2 (double))
(int gsl_sf_expint_En_e (int double gsl_sf_result*))
(double gsl_sf_expint_En (int double))
(int gsl_sf_expint_E1_scaled_e (double gsl_sf_result*))
(double gsl_sf_expint_E1_scaled (double))
(int gsl_sf_expint_E2_scaled_e (double gsl_sf_result*))
(double gsl_sf_expint_E2_scaled (double))
(int gsl_sf_expint_En_scaled_e (int double gsl_sf_result*))
(double gsl_sf_expint_En_scaled (int double))
(int gsl_sf_expint_Ei_e (double gsl_sf_result*))
(double gsl_sf_expint_Ei (double))
(int gsl_sf_expint_Ei_scaled_e (double gsl_sf_result*))
(double gsl_sf_expint_Ei_scaled (double))
(int gsl_sf_Shi_e (double gsl_sf_result*))
(double gsl_sf_Shi (double))
(int gsl_sf_Chi_e (double gsl_sf_result*))
(double gsl_sf_Chi (double))
(int gsl_sf_expint_3_e (double gsl_sf_result*))
(double gsl_sf_expint_3 (double))
(int gsl_sf_Si_e (double gsl_sf_result*))
(double gsl_sf_Si (double))
(int gsl_sf_Ci_e (double gsl_sf_result*))
(double gsl_sf_Ci (double))
(int gsl_sf_atanint_e (double gsl_sf_result*))
(double gsl_sf_atanint (double))
(int gsl_sf_fermi_dirac_m1_e (double gsl_sf_result*))
(double gsl_sf_fermi_dirac_m1 (double))
(int gsl_sf_fermi_dirac_0_e (double gsl_sf_result*))
(double gsl_sf_fermi_dirac_0 (double))
(int gsl_sf_fermi_dirac_1_e (double gsl_sf_result*))
(double gsl_sf_fermi_dirac_1 (double))
(int gsl_sf_fermi_dirac_2_e (double gsl_sf_result*))
(double gsl_sf_fermi_dirac_2 (double))
(int gsl_sf_fermi_dirac_int_e (int double gsl_sf_result*))
(double gsl_sf_fermi_dirac_int (int double))
(int gsl_sf_fermi_dirac_mhalf_e (double gsl_sf_result*))
(double gsl_sf_fermi_dirac_mhalf (double))
(int gsl_sf_fermi_dirac_half_e (double gsl_sf_result*))
(double gsl_sf_fermi_dirac_half (double))
(int gsl_sf_fermi_dirac_3half_e (double gsl_sf_result*))
(double gsl_sf_fermi_dirac_3half (double))
(int gsl_sf_fermi_dirac_inc_0_e (double double gsl_sf_result*))
(double gsl_sf_fermi_dirac_inc_0 (double double))
(int gsl_sf_lngamma_e (double gsl_sf_result*))
(double gsl_sf_lngamma (double))
(int gsl_sf_lngamma_sgn_e (double gsl_sf_result* double*))
(int gsl_sf_gamma_e (double gsl_sf_result*))
(double gsl_sf_gamma (double))
(int gsl_sf_gammastar_e (double gsl_sf_result*))
(double gsl_sf_gammastar (double))
(int gsl_sf_gammainv_e (double gsl_sf_result*))
(double gsl_sf_gammainv (double))
(int gsl_sf_lngamma_complex_e (double double gsl_sf_result* gsl_sf_result*))
(int gsl_sf_taylorcoeff_e (int double gsl_sf_result*))
(double gsl_sf_taylorcoeff (int double))
(int gsl_sf_fact_e (int gsl_sf_result*))
(double gsl_sf_fact (int))
(int gsl_sf_doublefact_e (int gsl_sf_result*))
(double gsl_sf_doublefact (int))
(int gsl_sf_lnfact_e (int gsl_sf_result*))
(double gsl_sf_lnfact (int))
(int gsl_sf_lndoublefact_e (int gsl_sf_result*))
(double gsl_sf_lndoublefact (int))
(int gsl_sf_lnchoose_e (int int gsl_sf_result*))
(double gsl_sf_lnchoose (int int))
(int gsl_sf_choose_e (int int gsl_sf_result*))
(double gsl_sf_choose (int int))
(int gsl_sf_lnpoch_e (double double gsl_sf_result*))
(double gsl_sf_lnpoch (double double))
(int gsl_sf_lnpoch_sgn_e (double double gsl_sf_result* double*))
(int gsl_sf_poch_e (double double gsl_sf_result*))
(double gsl_sf_poch (double double))
(int gsl_sf_pochrel_e (double double gsl_sf_result*))
(double gsl_sf_pochrel (double double))
(int gsl_sf_gamma_inc_Q_e (double double gsl_sf_result*))
(double gsl_sf_gamma_inc_Q (double double))
(int gsl_sf_gamma_inc_P_e (double double gsl_sf_result*))
(double gsl_sf_gamma_inc_P (double double))
(int gsl_sf_gamma_inc_e (double double gsl_sf_result*))
(double gsl_sf_gamma_inc (double double))
(int gsl_sf_lnbeta_e (double double gsl_sf_result*))
(double gsl_sf_lnbeta (double double))
(int gsl_sf_lnbeta_sgn_e (double double gsl_sf_result* double*))
(int gsl_sf_beta_e (double double gsl_sf_result*))
(double gsl_sf_beta (double double))
(int gsl_sf_beta_inc_e (double double double gsl_sf_result*))
(double gsl_sf_beta_inc (double double double))
(int gsl_sf_gegenpoly_1_e (double double gsl_sf_result*))
(int gsl_sf_gegenpoly_2_e (double double gsl_sf_result*))
(int gsl_sf_gegenpoly_3_e (double double gsl_sf_result*))
(double gsl_sf_gegenpoly_1 (double double))
(double gsl_sf_gegenpoly_2 (double double))
(double gsl_sf_gegenpoly_3 (double double))
(int gsl_sf_gegenpoly_n_e (int double double gsl_sf_result*))
(double gsl_sf_gegenpoly_n (int double double))
(int gsl_sf_gegenpoly_array (int double double double*))
(int gsl_sf_hyperg_0F1_e (double double gsl_sf_result*))
(double gsl_sf_hyperg_0F1 (double double))
(int gsl_sf_hyperg_1F1_int_e (int int double gsl_sf_result*))
(double gsl_sf_hyperg_1F1_int (int int double))
(int gsl_sf_hyperg_1F1_e (double double double gsl_sf_result*))
(double gsl_sf_hyperg_1F1 (double double double))
(int gsl_sf_hyperg_U_int_e (int int double gsl_sf_result*))
(double gsl_sf_hyperg_U_int (int int double))
(int gsl_sf_hyperg_U_int_e10_e (int int double gsl_sf_result_e10*))
(int gsl_sf_hyperg_U_e (double double double gsl_sf_result*))
(double gsl_sf_hyperg_U (double double double))
(int gsl_sf_hyperg_U_e10_e (double double double gsl_sf_result_e10*))
(int gsl_sf_hyperg_2F1_e (double double double double gsl_sf_result*))
(double gsl_sf_hyperg_2F1 (double double double double))
(int gsl_sf_hyperg_2F1_conj_e (double double double double gsl_sf_result*))
(double gsl_sf_hyperg_2F1_conj (double double double double))
(int gsl_sf_hyperg_2F1_renorm_e (double double double double gsl_sf_result*))
(double gsl_sf_hyperg_2F1_renorm (double double double double))
(int gsl_sf_hyperg_2F1_conj_renorm_e (double double double double gsl_sf_result*))
(double gsl_sf_hyperg_2F1_conj_renorm (double double double double))
(int gsl_sf_hyperg_2F0_e (double double double gsl_sf_result*))
(double gsl_sf_hyperg_2F0 (double double double))
(int gsl_sf_laguerre_1_e (double double gsl_sf_result*))
(int gsl_sf_laguerre_2_e (double double gsl_sf_result*))
(int gsl_sf_laguerre_3_e (double double gsl_sf_result*))
(double gsl_sf_laguerre_1 (double double))
(double gsl_sf_laguerre_2 (double double))
(double gsl_sf_laguerre_3 (double double))
(int gsl_sf_laguerre_n_e (int double double gsl_sf_result*))
(double gsl_sf_laguerre_n (int double double))
(int gsl_sf_lambert_W0_e (double gsl_sf_result*))
(double gsl_sf_lambert_W0 (double))
(int gsl_sf_lambert_Wm1_e (double gsl_sf_result*))
(double gsl_sf_lambert_Wm1 (double))
(int gsl_sf_legendre_Pl_e (int double gsl_sf_result*))
(double gsl_sf_legendre_Pl (int double))
(int gsl_sf_legendre_Pl_array (int double double*))
(int gsl_sf_legendre_Pl_deriv_array ( int double double* double*))
(int gsl_sf_legendre_P1_e (double gsl_sf_result*))
(int gsl_sf_legendre_P2_e (double gsl_sf_result*))
(int gsl_sf_legendre_P3_e (double gsl_sf_result*))
(double gsl_sf_legendre_P1 (double))
(double gsl_sf_legendre_P2 (double))
(double gsl_sf_legendre_P3 (double))
(int gsl_sf_legendre_Q0_e (double gsl_sf_result*))
(double gsl_sf_legendre_Q0 (double))
(int gsl_sf_legendre_Q1_e (double gsl_sf_result*))
(double gsl_sf_legendre_Q1 (double))
(int gsl_sf_legendre_Ql_e (int double gsl_sf_result*))
(double gsl_sf_legendre_Ql (int double))
(int gsl_sf_legendre_Plm_e (int int double gsl_sf_result*))
(double gsl_sf_legendre_Plm (int int double))
(int gsl_sf_legendre_sphPlm_e (int int double gsl_sf_result*))
(double gsl_sf_legendre_sphPlm (int int double))
(reader-cond ((< gsl-version 2.0)
(int gsl_sf_legendre_array_size (int int))
(int gsl_sf_legendre_Plm_array (int int double double*))
(int gsl_sf_legendre_Plm_deriv_array (int int double double* double*))
(int gsl_sf_legendre_sphPlm_array (int int double double*))
(int gsl_sf_legendre_sphPlm_deriv_array (int int double double* double*)))
(#t
(int gsl_sf_legendre_array (int size_t double double*))
(int gsl_sf_legendre_array_e (int size_t double double double*))
(int gsl_sf_legendre_deriv_array (int size_t double double* double*))
(int gsl_sf_legendre_deriv_array_e (int size_t double double double* double*))
(int gsl_sf_legendre_deriv_alt_array (int size_t double double* double*))
(int gsl_sf_legendre_deriv_alt_array_e (int size_t double double double* double*))
(int gsl_sf_legendre_deriv2_array (int size_t double double* double* double*))
(int gsl_sf_legendre_deriv2_array_e (int size_t double double double* double* double*))
(int gsl_sf_legendre_deriv2_alt_array (int size_t double double* double* double*))
(int gsl_sf_legendre_deriv2_alt_array_e (int size_t double double double* double* double*))
(size_t gsl_sf_legendre_array_n (size_t))
(size_t gsl_sf_legendre_array_index (size_t size_t))
(size_t gsl_sf_legendre_nlm (size_t))))
(int gsl_sf_conicalP_half_e (double double gsl_sf_result*))
(double gsl_sf_conicalP_half (double double))
(int gsl_sf_conicalP_mhalf_e (double double gsl_sf_result*))
(double gsl_sf_conicalP_mhalf (double double))
(int gsl_sf_conicalP_0_e (double double gsl_sf_result*))
(double gsl_sf_conicalP_0 (double double))
(int gsl_sf_conicalP_1_e (double double gsl_sf_result*))
(double gsl_sf_conicalP_1 (double double))
(int gsl_sf_conicalP_sph_reg_e (int double double gsl_sf_result*))
(double gsl_sf_conicalP_sph_reg (int double double))
(int gsl_sf_conicalP_cyl_reg_e (int double double gsl_sf_result*))
(double gsl_sf_conicalP_cyl_reg (int double double))
(int gsl_sf_legendre_H3d_0_e (double double gsl_sf_result*))
(double gsl_sf_legendre_H3d_0 (double double))
(int gsl_sf_legendre_H3d_1_e (double double gsl_sf_result*))
(double gsl_sf_legendre_H3d_1 (double double))
(int gsl_sf_legendre_H3d_e (int double double gsl_sf_result*))
(double gsl_sf_legendre_H3d (int double double))
(int gsl_sf_legendre_H3d_array (int double double double*))
(int gsl_sf_log_e (double gsl_sf_result*))
(double gsl_sf_log (double))
(int gsl_sf_log_abs_e (double gsl_sf_result*))
(double gsl_sf_log_abs (double))
(int gsl_sf_complex_log_e (double double gsl_sf_result* gsl_sf_result*))
(int gsl_sf_log_1plusx_e (double gsl_sf_result*))
(double gsl_sf_log_1plusx (double))
(int gsl_sf_log_1plusx_mx_e (double gsl_sf_result*))
(double gsl_sf_log_1plusx_mx (double))
(int gsl_sf_mathieu_a_array (int int double gsl_sf_mathieu_workspace* double*))
(int gsl_sf_mathieu_b_array (int int double gsl_sf_mathieu_workspace* double*))
(int gsl_sf_mathieu_a_coeff (int double double double*))
(int gsl_sf_mathieu_b_coeff (int double double double*))
(gsl_sf_mathieu_workspace* gsl_sf_mathieu_alloc (size_t double))
(void gsl_sf_mathieu_free (gsl_sf_mathieu_workspace*))
(int gsl_sf_mathieu_ce_array (int int double double gsl_sf_mathieu_workspace* double*))
(int gsl_sf_mathieu_se_array (int int double double gsl_sf_mathieu_workspace* double*))
(reader-cond ((< gsl-version 2.0)
(int gsl_sf_mathieu_Mc (int int double double gsl_sf_result*))
(int gsl_sf_mathieu_Ms (int int double double gsl_sf_result*))
(int gsl_sf_mathieu_ce (int double double gsl_sf_result*))
(int gsl_sf_mathieu_se (int double double gsl_sf_result*))
(int gsl_sf_mathieu_a (int double gsl_sf_result*))
(int gsl_sf_mathieu_b (int double gsl_sf_result*)))
(#t
(int gsl_sf_mathieu_Mc_e (int int double double gsl_sf_result*))
(double gsl_sf_mathieu_Mc (int int double double))
(int gsl_sf_mathieu_Ms_e (int int double double gsl_sf_result*))
(double gsl_sf_mathieu_Ms (int int double double))
(int gsl_sf_mathieu_a_e (int double gsl_sf_result*))
(double gsl_sf_mathieu_a (int double))
(int gsl_sf_mathieu_b_e (int double gsl_sf_result*))
(double gsl_sf_mathieu_b (int double))
(int gsl_sf_mathieu_ce_e (int double double gsl_sf_result*))
(double gsl_sf_mathieu_ce (int double double))
(int gsl_sf_mathieu_se_e (int double double gsl_sf_result*))
(double gsl_sf_mathieu_se (int double double))))
(int gsl_sf_mathieu_Mc_array (int int int double double gsl_sf_mathieu_workspace* double*))
(int gsl_sf_mathieu_Ms_array (int int int double double gsl_sf_mathieu_workspace* double*))
(int gsl_sf_pow_int_e (double int gsl_sf_result*))
(double gsl_sf_pow_int (double int))
(int gsl_sf_psi_int_e (int gsl_sf_result*))
(double gsl_sf_psi_int (int))
(int gsl_sf_psi_e (double gsl_sf_result*))
(double gsl_sf_psi (double))
(int gsl_sf_psi_1piy_e (double gsl_sf_result*))
(double gsl_sf_psi_1piy (double))
(int gsl_sf_complex_psi_e (double double gsl_sf_result* gsl_sf_result*))
(int gsl_sf_psi_1_int_e (int gsl_sf_result*))
(double gsl_sf_psi_1_int (int))
(int gsl_sf_psi_1_e (double gsl_sf_result*))
(double gsl_sf_psi_1 (double))
(int gsl_sf_psi_n_e (int double gsl_sf_result*))
(double gsl_sf_psi_n (int double))
(int gsl_sf_result_smash_e (gsl_sf_result_e10* gsl_sf_result*))
(int gsl_sf_synchrotron_1_e (double gsl_sf_result*))
(double gsl_sf_synchrotron_1 (double))
(int gsl_sf_synchrotron_2_e (double gsl_sf_result*))
(double gsl_sf_synchrotron_2 (double))
(int gsl_sf_transport_2_e (double gsl_sf_result*))
(double gsl_sf_transport_2 (double))
(int gsl_sf_transport_3_e (double gsl_sf_result*))
(double gsl_sf_transport_3 (double))
(int gsl_sf_transport_4_e (double gsl_sf_result*))
(double gsl_sf_transport_4 (double))
(int gsl_sf_transport_5_e (double gsl_sf_result*))
(double gsl_sf_transport_5 (double))
(int gsl_sf_sin_e (double gsl_sf_result*))
(double gsl_sf_sin (double))
(int gsl_sf_cos_e (double gsl_sf_result*))
(double gsl_sf_cos (double))
(int gsl_sf_hypot_e (double double gsl_sf_result*))
(double gsl_sf_hypot (double double))
(int gsl_sf_complex_sin_e (double double gsl_sf_result* gsl_sf_result*))
(int gsl_sf_complex_cos_e (double double gsl_sf_result* gsl_sf_result*))
(int gsl_sf_complex_logsin_e (double double gsl_sf_result* gsl_sf_result*))
(int gsl_sf_sinc_e (double gsl_sf_result*))
(double gsl_sf_sinc (double))
(int gsl_sf_lnsinh_e (double gsl_sf_result*))
(double gsl_sf_lnsinh (double))
(int gsl_sf_lncosh_e (double gsl_sf_result*))
(double gsl_sf_lncosh (double))
(int gsl_sf_polar_to_rect (double double gsl_sf_result* gsl_sf_result*))
(int gsl_sf_rect_to_polar (double double gsl_sf_result* gsl_sf_result*))
(int gsl_sf_sin_err_e (double double gsl_sf_result*))
(int gsl_sf_cos_err_e (double double gsl_sf_result*))
(int gsl_sf_angle_restrict_symm_e (double*))
(double gsl_sf_angle_restrict_symm (double))
(int gsl_sf_angle_restrict_pos_e (double*))
(double gsl_sf_angle_restrict_pos (double))
(int gsl_sf_angle_restrict_symm_err_e (double gsl_sf_result*))
(int gsl_sf_angle_restrict_pos_err_e (double gsl_sf_result*))
(int gsl_sf_zeta_int_e (int gsl_sf_result*))
(double gsl_sf_zeta_int (int))
(int gsl_sf_zeta_e (double gsl_sf_result*))
(double gsl_sf_zeta (double))
(int gsl_sf_zetam1_e (double gsl_sf_result*))
(double gsl_sf_zetam1 (double))
(int gsl_sf_zetam1_int_e (int gsl_sf_result*))
(double gsl_sf_zetam1_int (int))
(int gsl_sf_hzeta_e (double double gsl_sf_result*))
(double gsl_sf_hzeta (double double))
(int gsl_sf_eta_int_e (int gsl_sf_result*))
(double gsl_sf_eta_int (int))
(int gsl_sf_eta_e (double gsl_sf_result*))
(double gsl_sf_eta (double))
(in-C "static s7_pointer g_gsl_sf_result_make(s7_scheme *sc, s7_pointer args)
{
return(s7_make_c_pointer(sc, (void *)calloc(1, sizeof(gsl_sf_result))));
}
static s7_pointer g_gsl_sf_result_val(s7_scheme *sc, s7_pointer args)
{
return(s7_make_real(sc, ((gsl_sf_result *)s7_c_pointer(s7_car(args)))->val));
}
static s7_pointer g_gsl_sf_result_err(s7_scheme *sc, s7_pointer args)
{
return(s7_make_real(sc, ((gsl_sf_result *)s7_c_pointer(s7_car(args)))->err));
}
static s7_pointer g_gsl_sf_result_e10_make(s7_scheme *sc, s7_pointer args)
{
return(s7_make_c_pointer(sc, (void *)calloc(1, sizeof(gsl_sf_result_e10))));
}
static s7_pointer g_to_doubles(s7_scheme *sc, s7_pointer args)
{
if (s7_is_vector(s7_car(args)))
return(s7_make_c_pointer(sc, (void *)s7_float_vector_elements(s7_car(args))));
return(s7_car(args));
}
")
(C-function ("gsl_sf_result.make" g_gsl_sf_result_make "" 0))
(C-function ("gsl_sf_result_e10.make" g_gsl_sf_result_e10_make "" 0))
(C-function ("gsl_sf_result.val" g_gsl_sf_result_val "" 1))
(C-function ("gsl_sf_result.err" g_gsl_sf_result_err "" 1))
(C-function ("double*" g_to_doubles "" 1))
(double gsl_log1p (double))
(double gsl_expm1 (double))
(double gsl_hypot (double double))
(double gsl_hypot3 (double double double))
(double gsl_acosh (double))
(double gsl_asinh (double))
(double gsl_atanh (double))
(int gsl_isnan (double))
(int gsl_isinf (double))
(int gsl_finite (double))
(double gsl_nan (void))
(double gsl_posinf (void))
(double gsl_neginf (void))
(double gsl_fdiv (double double))
(double gsl_coerce_double (double))
(double gsl_ldexp (double int))
(in-C "static s7_pointer g_gsl_frexp(s7_scheme *sc, s7_pointer args)
{
int e = 0;
double res;
res = gsl_frexp(s7_real(s7_car(args)), &e);
return(s7_list(sc, 2, s7_make_real(sc, res), s7_make_integer(sc, e)));
}
")
(C-function ("gsl_frexp" g_gsl_frexp "" 1))
(int gsl_fcmp (double double double))
(double gsl_pow_2 (double))
(double gsl_pow_3 (double))
(double gsl_pow_4 (double))
(double gsl_pow_5 (double))
(double gsl_pow_6 (double))
(double gsl_pow_7 (double))
(double gsl_pow_8 (double))
(double gsl_pow_9 (double))
(double gsl_pow_int (double int))
;; gsl_cdf
(double gsl_cdf_ugaussian_P (double))
(double gsl_cdf_ugaussian_Q (double))
(double gsl_cdf_ugaussian_Pinv (double))
(double gsl_cdf_ugaussian_Qinv (double))
(double gsl_cdf_gaussian_P (double double))
(double gsl_cdf_gaussian_Q (double double))
(double gsl_cdf_gaussian_Pinv (double double))
(double gsl_cdf_gaussian_Qinv (double double))
(double gsl_cdf_gamma_P (double double double))
(double gsl_cdf_gamma_Q (double double double))
(double gsl_cdf_gamma_Pinv (double double double))
(double gsl_cdf_gamma_Qinv (double double double))
(double gsl_cdf_cauchy_P (double double))
(double gsl_cdf_cauchy_Q (double double))
(double gsl_cdf_cauchy_Pinv (double double))
(double gsl_cdf_cauchy_Qinv (double double))
(double gsl_cdf_laplace_P (double double))
(double gsl_cdf_laplace_Q (double double))
(double gsl_cdf_laplace_Pinv (double double))
(double gsl_cdf_laplace_Qinv (double double))
(double gsl_cdf_rayleigh_P (double double))
(double gsl_cdf_rayleigh_Q (double double))
(double gsl_cdf_rayleigh_Pinv (double double))
(double gsl_cdf_rayleigh_Qinv (double double))
(double gsl_cdf_chisq_P (double double))
(double gsl_cdf_chisq_Q (double double))
(double gsl_cdf_chisq_Pinv (double double))
(double gsl_cdf_chisq_Qinv (double double))
(double gsl_cdf_exponential_P (double double))
(double gsl_cdf_exponential_Q (double double))
(double gsl_cdf_exponential_Pinv (double double))
(double gsl_cdf_exponential_Qinv (double double))
(double gsl_cdf_exppow_P (double double double))
(double gsl_cdf_exppow_Q (double double double))
(double gsl_cdf_tdist_P (double double))
(double gsl_cdf_tdist_Q (double double))
(double gsl_cdf_tdist_Pinv (double double))
(double gsl_cdf_tdist_Qinv (double double))
(double gsl_cdf_fdist_P (double double double))
(double gsl_cdf_fdist_Q (double double double))
(double gsl_cdf_fdist_Pinv (double double double))
(double gsl_cdf_fdist_Qinv (double double double))
(double gsl_cdf_beta_P (double double double))
(double gsl_cdf_beta_Q (double double double))
(double gsl_cdf_beta_Pinv (double double double))
(double gsl_cdf_beta_Qinv (double double double))
(double gsl_cdf_flat_P (double double double))
(double gsl_cdf_flat_Q (double double double))
(double gsl_cdf_flat_Pinv (double double double))
(double gsl_cdf_flat_Qinv (double double double))
(double gsl_cdf_lognormal_P (double double double))
(double gsl_cdf_lognormal_Q (double double double))
(double gsl_cdf_lognormal_Pinv (double double double))
(double gsl_cdf_lognormal_Qinv (double double double))
(double gsl_cdf_gumbel1_P (double double double))
(double gsl_cdf_gumbel1_Q (double double double))
(double gsl_cdf_gumbel1_Pinv (double double double))
(double gsl_cdf_gumbel1_Qinv (double double double))
(double gsl_cdf_gumbel2_P (double double double))
(double gsl_cdf_gumbel2_Q (double double double))
(double gsl_cdf_gumbel2_Pinv (double double double))
(double gsl_cdf_gumbel2_Qinv (double double double))
(double gsl_cdf_weibull_P (double double double))
(double gsl_cdf_weibull_Q (double double double))
(double gsl_cdf_weibull_Pinv (double double double))
(double gsl_cdf_weibull_Qinv (double double double))
(double gsl_cdf_pareto_P (double double double))
(double gsl_cdf_pareto_Q (double double double))
(double gsl_cdf_pareto_Pinv (double double double))
(double gsl_cdf_pareto_Qinv (double double double))
(double gsl_cdf_logistic_P (double double))
(double gsl_cdf_logistic_Q (double double))
(double gsl_cdf_logistic_Pinv (double double))
(double gsl_cdf_logistic_Qinv (double double))
(double gsl_cdf_binomial_P (int double int))
(double gsl_cdf_binomial_Q (int double int))
(double gsl_cdf_poisson_P (int double))
(double gsl_cdf_poisson_Q (int double))
(double gsl_cdf_geometric_P (int double))
(double gsl_cdf_geometric_Q (int double))
(double gsl_cdf_negative_binomial_P (int double double))
(double gsl_cdf_negative_binomial_Q (int double double))
(double gsl_cdf_pascal_P (int double int))
(double gsl_cdf_pascal_Q (int double int))
(double gsl_cdf_hypergeometric_P (int int int int))
(double gsl_cdf_hypergeometric_Q (int int int int))
;; gsl_dht
(gsl_dht* gsl_dht_alloc (size_t))
(gsl_dht* gsl_dht_new (size_t double double))
(int gsl_dht_init (gsl_dht* double double))
(double gsl_dht_x_sample (gsl_dht* int))
(double gsl_dht_k_sample (gsl_dht* int))
(void gsl_dht_free (gsl_dht*))
(int gsl_dht_apply (gsl_dht* double* double*))
;; gsl_statistics
(double gsl_stats_mean (double* size_t size_t))
(double gsl_stats_variance (double* size_t size_t))
(double gsl_stats_sd (double* size_t size_t))
(double gsl_stats_variance_with_fixed_mean (double* size_t size_t double))
(double gsl_stats_sd_with_fixed_mean (double* size_t size_t double))
(double gsl_stats_tss (double* size_t size_t))
(double gsl_stats_tss_m (double* size_t size_t double))
(double gsl_stats_absdev (double* size_t size_t))
(double gsl_stats_skew (double* size_t size_t))
(double gsl_stats_kurtosis (double* size_t size_t))
(double gsl_stats_lag1_autocorrelation (double* size_t size_t))
(double gsl_stats_covariance (double* size_t double* size_t size_t))
(double gsl_stats_correlation (double* size_t double* size_t size_t))
(reader-cond ((>= gsl-version 1.16) (double gsl_stats_spearman (double* size_t double* size_t size_t double*))))
(double gsl_stats_variance_m (double* size_t size_t double))
(double gsl_stats_sd_m (double* size_t size_t double))
(double gsl_stats_absdev_m (double* size_t size_t double))
(double gsl_stats_skew_m_sd (double* size_t size_t double double))
(double gsl_stats_kurtosis_m_sd (double* size_t size_t double double))
(double gsl_stats_lag1_autocorrelation_m (double* size_t size_t double))
(double gsl_stats_covariance_m (double* size_t double* size_t size_t double double))
(double gsl_stats_wmean (double* size_t double* size_t size_t))
(double gsl_stats_wvariance (double* size_t double* size_t size_t))
(double gsl_stats_wsd (double* size_t double* size_t size_t))
(double gsl_stats_wvariance_with_fixed_mean (double* size_t double* size_t size_t double))
(double gsl_stats_wsd_with_fixed_mean (double* size_t double* size_t size_t double))
(double gsl_stats_wtss (double* size_t double* size_t size_t))
(double gsl_stats_wtss_m (double* size_t double* size_t size_t double))
(double gsl_stats_wabsdev (double* size_t double* size_t size_t))
(double gsl_stats_wskew (double* size_t double* size_t size_t))
(double gsl_stats_wkurtosis (double* size_t double* size_t size_t))
(double gsl_stats_wvariance_m (double* size_t double* size_t size_t double))
(double gsl_stats_wsd_m (double* size_t double* size_t size_t double))
(double gsl_stats_wabsdev_m (double* size_t double* size_t size_t double))
(double gsl_stats_wskew_m_sd (double* size_t double* size_t size_t double double))
(double gsl_stats_wkurtosis_m_sd (double* size_t double* size_t size_t double double))
(double gsl_stats_pvariance (double* size_t size_t double* size_t size_t))
(double gsl_stats_ttest (double* size_t size_t double* size_t size_t))
(double gsl_stats_max (double* size_t size_t))
(double gsl_stats_min (double* size_t size_t))
(void gsl_stats_minmax (double* double* double* size_t size_t))
(size_t gsl_stats_max_index (double* size_t size_t))
(size_t gsl_stats_min_index (double* size_t size_t))
(void gsl_stats_minmax_index (size_t* size_t* double* size_t size_t))
(double gsl_stats_median_from_sorted_data (double* size_t size_t))
(double gsl_stats_quantile_from_sorted_data (double* size_t size_t double))
(c-pointer (gsl_interp_linear gsl_interp_polynomial gsl_interp_cspline gsl_interp_cspline_periodic gsl_interp_akima
gsl_interp_akima_periodic gsl_min_fminimizer_goldensection gsl_min_fminimizer_brent gsl_min_fminimizer_quad_golden
gsl_multimin_fminimizer_nmsimplex gsl_multimin_fminimizer_nmsimplex2 gsl_multimin_fminimizer_nmsimplex2rand
gsl_multiroot_fsolver_dnewton gsl_multiroot_fsolver_broyden gsl_multiroot_fsolver_hybrid gsl_multiroot_fsolver_hybrids
gsl_prec_eps gsl_prec_sqrt_eps
gsl_prec_root3_eps gsl_prec_root4_eps gsl_prec_root5_eps gsl_prec_root6_eps gsl_root_fsolver_bisection gsl_root_fsolver_brent
gsl_root_fsolver_falsepos gsl_version
gsl_wavelet_daubechies gsl_wavelet_daubechies_centered gsl_wavelet_haar gsl_wavelet_haar_centered gsl_wavelet_bspline
gsl_wavelet_bspline_centered))
(reader-cond ((>= gsl-version 1.16)
(c-pointer (gsl_multifit_robust_default gsl_multifit_robust_bisquare gsl_multifit_robust_cauchy gsl_multifit_robust_fair
gsl_multifit_robust_huber gsl_multifit_robust_ols gsl_multifit_robust_welsch))))