-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfunction-list
2488 lines (2440 loc) · 160 KB
/
function-list
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
// Function inventory for entire gsl library.
// XXX - This should be split up into one file per section!
// Basic mathematical functions.
# SECTION{"Mathematical Functions"}
# PACKAGE{"github.com/dtromb/gogsl",["gsl/gsl_math.h"],["GSL_","gsl_"]}
int gsl_isnan (const double x)
int gsl_isinf (const double x)
int gsl_finite (const double x)
double gsl_log1p (const double x)
double gsl_expm1 (const double x)
double gsl_hypot (const double x, const double y)
double gsl_hypot3 (const double x, const double y, const double z)
double gsl_acosh (const double x)
double gsl_asinh (const double x)
double gsl_atanh (const double x)
double gsl_ldexp (double x, int e)
# NEXTMAP{"2","OUTPTR"}
double gsl_frexp (double x, int * e)
double gsl_pow_int (double x, int n)
double gsl_pow_uint (double x, unsigned int n)
double gsl_pow_2 (const double x)
double gsl_pow_3 (const double x)
double gsl_pow_4 (const double x)
double gsl_pow_5 (const double x)
double gsl_pow_6 (const double x)
double gsl_pow_7 (const double x)
double gsl_pow_8 (const double x)
double gsl_pow_9 (const double x)
int gsl_fcmp (double x, double y, double epsilon)
// Complex number support. This package is special-cased in the generator.
# SECTION{"Complex Numbers"}
# PACKAGE{"github.com/dtromb/gogsl/complex",["gsl/gsl_complex.h","gsl/gsl_complex_math.h"],["gsl_complex_"]}
# IMPORT{"unsafe"}
gsl_complex gsl_complex_rect (double x, double y)
gsl_complex gsl_complex_polar (double r, double theta)
double gsl_complex_arg (gsl_complex z)
double gsl_complex_abs (gsl_complex z)
double gsl_complex_abs2 (gsl_complex z)
double gsl_complex_logabs (gsl_complex z)
gsl_complex gsl_complex_add (gsl_complex a, gsl_complex b)
gsl_complex gsl_complex_sub (gsl_complex a, gsl_complex b)
gsl_complex gsl_complex_mul (gsl_complex a, gsl_complex b)
gsl_complex gsl_complex_div (gsl_complex a, gsl_complex b)
gsl_complex gsl_complex_add_real (gsl_complex a, double x)
gsl_complex gsl_complex_sub_real (gsl_complex a, double x)
gsl_complex gsl_complex_mul_real (gsl_complex a, double x)
gsl_complex gsl_complex_div_real (gsl_complex a, double x)
gsl_complex gsl_complex_add_imag (gsl_complex a, double y)
gsl_complex gsl_complex_sub_imag (gsl_complex a, double y)
gsl_complex gsl_complex_mul_imag (gsl_complex a, double y)
gsl_complex gsl_complex_div_imag (gsl_complex a, double y)
gsl_complex gsl_complex_conjugate (gsl_complex z)
gsl_complex gsl_complex_inverse (gsl_complex z)
gsl_complex gsl_complex_negative (gsl_complex z)
gsl_complex gsl_complex_sqrt (gsl_complex z)
gsl_complex gsl_complex_sqrt_real (double x)
gsl_complex gsl_complex_pow (gsl_complex z, gsl_complex a)
gsl_complex gsl_complex_pow_real (gsl_complex z, double x)
gsl_complex gsl_complex_exp (gsl_complex z)
gsl_complex gsl_complex_log (gsl_complex z)
gsl_complex gsl_complex_log10 (gsl_complex z)
gsl_complex gsl_complex_log_b (gsl_complex z, gsl_complex b)
gsl_complex gsl_complex_sin (gsl_complex z)
gsl_complex gsl_complex_cos (gsl_complex z)
gsl_complex gsl_complex_tan (gsl_complex z)
gsl_complex gsl_complex_sec (gsl_complex z)
gsl_complex gsl_complex_csc (gsl_complex z)
gsl_complex gsl_complex_cot (gsl_complex z)
gsl_complex gsl_complex_arcsin (gsl_complex z)
gsl_complex gsl_complex_arcsin_real (double z)
gsl_complex gsl_complex_arccos (gsl_complex z)
gsl_complex gsl_complex_arccos_real (double z)
gsl_complex gsl_complex_arctan (gsl_complex z)
gsl_complex gsl_complex_arcsec (gsl_complex z)
gsl_complex gsl_complex_arcsec_real (double z)
gsl_complex gsl_complex_arccsc (gsl_complex z)
gsl_complex gsl_complex_arccsc_real (double z)
gsl_complex gsl_complex_arccot (gsl_complex z)
gsl_complex gsl_complex_sinh (gsl_complex z)
gsl_complex gsl_complex_cosh (gsl_complex z)
gsl_complex gsl_complex_tanh (gsl_complex z)
gsl_complex gsl_complex_sech (gsl_complex z)
gsl_complex gsl_complex_csch (gsl_complex z)
gsl_complex gsl_complex_coth (gsl_complex z)
gsl_complex gsl_complex_arcsinh (gsl_complex z)
gsl_complex gsl_complex_arccosh (gsl_complex z)
gsl_complex gsl_complex_arccosh_real (double z)
gsl_complex gsl_complex_arctanh (gsl_complex z)
gsl_complex gsl_complex_arctanh_real (double z)
gsl_complex gsl_complex_arcsech (gsl_complex z)
gsl_complex gsl_complex_arccsch (gsl_complex z)
gsl_complex gsl_complex_arccoth (gsl_complex z)
// Polynomial manipulation, evaluation, and root finding.
# SECTION{"Polynomials"}
# PACKAGE{"github.com/dtromb/gogsl/poly", ["gsl/gsl_poly.h"], ["gsl_poly","gsl"]}
# GSL_REFTYPE{"gsl_poly_complex_workspace",[]}
double gsl_poly_eval (const double c[], const int len, const double x)
gsl_complex gsl_poly_complex_eval (const double c[], const int len, const gsl_complex z)
gsl_complex gsl_complex_poly_complex_eval (const gsl_complex c[], const int len, const gsl_complex z)
int gsl_poly_eval_derivs (const double c[], const size_t lenc, const double x, double res[], const size_t lenres)
int gsl_poly_dd_init (double dd[], const double xa[], const double ya[], size_t size)
double gsl_poly_dd_eval (const double dd[], const double xa[], const size_t size, const double x)
int gsl_poly_dd_taylor (double c[], double xp, const double dd[], const double xa[], size_t size, double w[])
int gsl_poly_dd_hermite_init (double dd[], double za[], const double xa[], const double ya[], const double dya[], const size_t size)
# NEXTMAP{"4","OUTPTR"}
# NEXTMAP{"5","OUTPTR"}
int gsl_poly_complex_solve_quadratic (double a, double b, double c, gsl_complex * z0, gsl_complex * z1)
# NEXTMAP{"4","OUTPTR"}
# NEXTMAP{"5","OUTPTR"}
# NEXTMAP{"6","OUTPTR"}
int gsl_poly_complex_solve_cubic (double a, double b, double c, gsl_complex * z0, gsl_complex * z1, gsl_complex * z2)
gsl_poly_complex_workspace * gsl_poly_complex_workspace_alloc (size_t n)
void gsl_poly_complex_workspace_free (gsl_poly_complex_workspace * w)
# NEXTMAP{"1","SLICEPTR"}
int gsl_poly_complex_solve (const double * a, size_t n, gsl_poly_complex_workspace * w, gsl_complex_packed_ptr z)
// The top-level special functions library package. All of the hundreds of special functions
// in GSL are contained in subpackages of sf.
# SECTION{"Special Functions"}
# PACKAGE{"github.com/dtromb/gogsl/sf", ["gsl/gsl_sf_result.h","gsl/gsl_sf_elementary.h"], ["GSL_","gsl_sf_"]}
# GSL_REFTYPE{"gsl_sf_result",["CData []byte"]}
# GSL_REFTYPE{"gsl_sf_result_e10",["CData []byte"]}
# GSL_ENUM{"gsl_mode_t"}
int gsl_sf_multiply_e (double x, double y, gsl_sf_result * result)
int gsl_sf_multiply_err_e (double x, double dx, double y, double dy, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/airy", ["gsl/gsl_sf_result.h","gsl/gsl_sf_airy.h"], ["gsl_sf_airy_"]}
double gsl_sf_airy_Ai (double x, gsl_mode_t mode)
int gsl_sf_airy_Ai_e (double x, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_airy_Bi (double x, gsl_mode_t mode)
int gsl_sf_airy_Bi_e (double x, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_airy_Ai_scaled (double x, gsl_mode_t mode)
int gsl_sf_airy_Ai_scaled_e (double x, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_airy_Bi_scaled (double x, gsl_mode_t mode)
int gsl_sf_airy_Bi_scaled_e (double x, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_airy_Ai_deriv (double x, gsl_mode_t mode)
int gsl_sf_airy_Ai_deriv_e (double x, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_airy_Bi_deriv (double x, gsl_mode_t mode)
int gsl_sf_airy_Bi_deriv_e (double x, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_airy_Ai_deriv_scaled (double x, gsl_mode_t mode)
int gsl_sf_airy_Ai_deriv_scaled_e (double x, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_airy_Bi_deriv_scaled (double x, gsl_mode_t mode)
int gsl_sf_airy_Bi_deriv_scaled_e (double x, gsl_mode_t mode, gsl_sf_result * result)
int gsl_sf_airy_zero_Ai_e (unsigned int s, gsl_sf_result * result)
double gsl_sf_airy_zero_Bi (unsigned int s)
int gsl_sf_airy_zero_Bi_e (unsigned int s, gsl_sf_result * result)
double gsl_sf_airy_zero_Ai_deriv (unsigned int s)
int gsl_sf_airy_zero_Ai_deriv_e (unsigned int s, gsl_sf_result * result)
double gsl_sf_airy_zero_Bi_deriv (unsigned int s)
int gsl_sf_airy_zero_Bi_deriv_e (unsigned int s, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/bessel/cylindrical", ["gsl/gsl_sf_result.h","gsl/gsl_sf_bessel.h"], ["gsl_sf_bessel"]}
double gsl_sf_bessel_J0 (double x)
int gsl_sf_bessel_J0_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_J1 (double x)
int gsl_sf_bessel_J1_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_Jn (int n, double x)
int gsl_sf_bessel_Jn_e (int n, double x, gsl_sf_result * result)
int gsl_sf_bessel_Jn_array (int nmin, int nmax, double x, double result_array[])
double gsl_sf_bessel_Y0 (double x)
int gsl_sf_bessel_Y0_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_Y1 (double x)
int gsl_sf_bessel_Y1_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_Yn (int n, double x)
int gsl_sf_bessel_Yn_e (int n, double x, gsl_sf_result * result)
int gsl_sf_bessel_Yn_array (int nmin, int nmax, double x, double result_array[])
double gsl_sf_bessel_I0 (double x)
int gsl_sf_bessel_I0_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_I1 (double x)
int gsl_sf_bessel_I1_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_In (int n, double x)
int gsl_sf_bessel_In_e (int n, double x, gsl_sf_result * result)
int gsl_sf_bessel_In_array (int nmin, int nmax, double x, double result_array[])
double gsl_sf_bessel_I0_scaled (double x)
int gsl_sf_bessel_I0_scaled_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_I1_scaled (double x)
int gsl_sf_bessel_I1_scaled_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_In_scaled (int n, double x)
int gsl_sf_bessel_In_scaled_e (int n, double x, gsl_sf_result * result)
int gsl_sf_bessel_In_scaled_array (int nmin, int nmax, double x, double result_array[])
double gsl_sf_bessel_K0 (double x)
int gsl_sf_bessel_K0_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_K1 (double x)
int gsl_sf_bessel_K1_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_Kn (int n, double x)
int gsl_sf_bessel_Kn_e (int n, double x, gsl_sf_result * result)
int gsl_sf_bessel_Kn_array (int nmin, int nmax, double x, double result_array[])
double gsl_sf_bessel_K0_scaled (double x)
int gsl_sf_bessel_K0_scaled_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_K1_scaled (double x)
int gsl_sf_bessel_K1_scaled_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_Kn_scaled (int n, double x)
int gsl_sf_bessel_Kn_scaled_e (int n, double x, gsl_sf_result * result)
int gsl_sf_bessel_Kn_scaled_array (int nmin, int nmax, double x, double result_array[])
# PACKAGE{"github.com/dtromb/gogsl/sf/bessel/spherical", ["gsl/gsl_sf_result.h","gsl/gsl_sf_bessel.h"], ["gsl_sf_bessel"]}
double gsl_sf_bessel_j0 (double x)
int gsl_sf_bessel_j0_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_j1 (double x)
int gsl_sf_bessel_j1_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_j2 (double x)
int gsl_sf_bessel_j2_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_jl (int l, double x)
int gsl_sf_bessel_jl_e (int l, double x, gsl_sf_result * result)
int gsl_sf_bessel_jl_array (int lmax, double x, double result_array[])
#NEXTMAP{"3","SLICEPTR"}
int gsl_sf_bessel_jl_steed_array (int lmax, double x, double * result_array)
double gsl_sf_bessel_y0 (double x)
int gsl_sf_bessel_y0_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_y1 (double x)
int gsl_sf_bessel_y1_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_y2 (double x)
int gsl_sf_bessel_y2_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_yl (int l, double x)
int gsl_sf_bessel_yl_e (int l, double x, gsl_sf_result * result)
int gsl_sf_bessel_yl_array (int lmax, double x, double result_array[])
double gsl_sf_bessel_i0_scaled (double x)
int gsl_sf_bessel_i0_scaled_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_i1_scaled (double x)
int gsl_sf_bessel_i1_scaled_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_i2_scaled (double x)
int gsl_sf_bessel_i2_scaled_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_il_scaled (int l, double x)
int gsl_sf_bessel_il_scaled_e (int l, double x, gsl_sf_result * result)
int gsl_sf_bessel_il_scaled_array (int lmax, double x, double result_array[])
double gsl_sf_bessel_k0_scaled (double x)
int gsl_sf_bessel_k0_scaled_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_k1_scaled (double x)
int gsl_sf_bessel_k1_scaled_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_k2_scaled (double x)
int gsl_sf_bessel_k2_scaled_e (double x, gsl_sf_result * result)
double gsl_sf_bessel_kl_scaled (int l, double x)
int gsl_sf_bessel_kl_scaled_e (int l, double x, gsl_sf_result * result)
int gsl_sf_bessel_kl_scaled_array (int lmax, double x, double result_array[])
# PACKAGE{"github.com/dtromb/gogsl/sf/bessel/fractional", ["gsl/gsl_sf_result.h","gsl/gsl_sf_bessel.h"], ["gsl_sf_bessel"]}
double gsl_sf_bessel_Jnu (double nu, double x)
int gsl_sf_bessel_Jnu_e (double nu, double x, gsl_sf_result * result)
int gsl_sf_bessel_sequence_Jnu_e (double nu, gsl_mode_t mode, size_t size, double v[])
double gsl_sf_bessel_Ynu (double nu, double x)
int gsl_sf_bessel_Ynu_e (double nu, double x, gsl_sf_result * result)
double gsl_sf_bessel_Inu (double nu, double x)
int gsl_sf_bessel_Inu_e (double nu, double x, gsl_sf_result * result)
double gsl_sf_bessel_Inu_scaled (double nu, double x)
int gsl_sf_bessel_Inu_scaled_e (double nu, double x, gsl_sf_result * result)
double gsl_sf_bessel_Knu (double nu, double x)
int gsl_sf_bessel_Knu_e (double nu, double x, gsl_sf_result * result)
double gsl_sf_bessel_lnKnu (double nu, double x)
int gsl_sf_bessel_lnKnu_e (double nu, double x, gsl_sf_result * result)
double gsl_sf_bessel_Knu_scaled (double nu, double x)
int gsl_sf_bessel_Knu_scaled_e (double nu, double x, gsl_sf_result * result)
double gsl_sf_bessel_zero_J0 (unsigned int s)
int gsl_sf_bessel_zero_J0_e (unsigned int s, gsl_sf_result * result)
double gsl_sf_bessel_zero_J1 (unsigned int s)
int gsl_sf_bessel_zero_J1_e (unsigned int s, gsl_sf_result * result)
double gsl_sf_bessel_zero_Jnu (double nu, unsigned int s)
int gsl_sf_bessel_zero_Jnu_e (double nu, unsigned int s, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/clausen", ["gsl/gsl_sf_result.h","gsl/gsl_sf_clausen.h"], ["gsl_sf_"]}
double gsl_sf_clausen (double x)
int gsl_sf_clausen_e (double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/coulomb", ["gsl/gsl_sf_result.h","gsl/gsl_sf_coulomb.h"], ["gsl_sf_coulomb","gsl_sf"]}
double gsl_sf_hydrogenicR_1 (double Z, double r)
int gsl_sf_hydrogenicR_1_e (double Z, double r, gsl_sf_result * result)
double gsl_sf_hydrogenicR (int n, int l, double Z, double r)
int gsl_sf_hydrogenicR_e (int n, int l, double Z, double r, gsl_sf_result * result)
# NEXTMAP{"9","SLICEPTR"}
# NEXTMAP{"10","SLICEPTR"}
int gsl_sf_coulomb_wave_FG_e (double eta, double x, double L_F, int k, gsl_sf_result * F, gsl_sf_result * Fp, gsl_sf_result * G, gsl_sf_result * Gp, double * exp_F, double * exp_G)
# NEXTMAP{"6","SLICEPTR"}
int gsl_sf_coulomb_wave_F_array (double L_min, int kmax, double eta, double x, double fc_array[], double * F_exponent)
# NEXTMAP{"7","SLICEPTR"}
# NEXTMAP{"8","SLICEPTR"}
int gsl_sf_coulomb_wave_FG_array (double L_min, int kmax, double eta, double x, double fc_array[], double gc_array[], double * F_exponent, double * G_exponent)
# NEXTMAP{"9","SLICEPTR"}
# NEXTMAP{"10","SLICEPTR"}
int gsl_sf_coulomb_wave_FGp_array (double L_min, int kmax, double eta, double x, double fc_array[], double fcp_array[], double gc_array[], double gcp_array[], double * F_exponent, double * G_exponent)
int gsl_sf_coulomb_wave_sphF_array (double L_min, int kmax, double eta, double x, double fc_array[], double F_exponent[])
int gsl_sf_coulomb_CL_e (double L, double eta, gsl_sf_result * result)
int gsl_sf_coulomb_CL_array (double Lmin, int kmax, double eta, double cl[])
# PACKAGE{"github.com/dtromb/gogsl/sf/coupling", ["gsl/gsl_sf_result.h","gsl/gsl_sf_coupling.h"], ["gsl_sf_coupling_"]}
double gsl_sf_coupling_3j (int two_ja, int two_jb, int two_jc, int two_ma, int two_mb, int two_mc)
int gsl_sf_coupling_3j_e (int two_ja, int two_jb, int two_jc, int two_ma, int two_mb, int two_mc, gsl_sf_result * result)
double gsl_sf_coupling_6j (int two_ja, int two_jb, int two_jc, int two_jd, int two_je, int two_jf)
int gsl_sf_coupling_6j_e (int two_ja, int two_jb, int two_jc, int two_jd, int two_je, int two_jf, gsl_sf_result * result)
double gsl_sf_coupling_9j (int two_ja, int two_jb, int two_jc, int two_jd, int two_je, int two_jf, int two_jg, int two_jh, int two_ji)
int gsl_sf_coupling_9j_e (int two_ja, int two_jb, int two_jc, int two_jd, int two_je, int two_jf, int two_jg, int two_jh, int two_ji, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/dawson", ["gsl/gsl_sf_result.h","gsl/gsl_sf_dawson.h"], ["gsl_sf_"]}
double gsl_sf_dawson (double x)
int gsl_sf_dawson_e (double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/debye", ["gsl/gsl_sf_result.h","gsl/gsl_sf_debye.h"], ["gsl_sf"]}
double gsl_sf_debye_1 (double x)
int gsl_sf_debye_1_e (double x, gsl_sf_result * result)
double gsl_sf_debye_2 (double x)
int gsl_sf_debye_2_e (double x, gsl_sf_result * result)
double gsl_sf_debye_3 (double x)
int gsl_sf_debye_3_e (double x, gsl_sf_result * result)
double gsl_sf_debye_4 (double x)
int gsl_sf_debye_4_e (double x, gsl_sf_result * result)
double gsl_sf_debye_5 (double x)
int gsl_sf_debye_5_e (double x, gsl_sf_result * result)
double gsl_sf_debye_6 (double x)
int gsl_sf_debye_6_e (double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/dilog", ["gsl/gsl_sf_result.h","gsl/gsl_sf_dilog.h"], ["gsl_sf"]}
# IMPORT{"github.com/dtromb/gogsl/sf"}
double gsl_sf_dilog (double x)
int gsl_sf_dilog_e (double x, gsl_sf_result * result)
int gsl_sf_complex_dilog_e (double r, double theta, gsl_sf_result * result_re, gsl_sf_result * result_im)
# PACKAGE{"github.com/dtromb/gogsl/sf/ellint", ["gsl/gsl_sf_result.h","gsl/gsl_sf_ellint.h"], ["gsl_sf_ellint"]}
# IMPORT{"github.com/dtromb/gogsl/sf"}
double gsl_sf_ellint_Kcomp (double k, gsl_mode_t mode)
int gsl_sf_ellint_Kcomp_e (double k, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_ellint_Ecomp (double k, gsl_mode_t mode)
int gsl_sf_ellint_Ecomp_e (double k, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_ellint_Pcomp (double k, double n, gsl_mode_t mode)
int gsl_sf_ellint_Pcomp_e (double k, double n, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_ellint_F (double phi, double k, gsl_mode_t mode)
int gsl_sf_ellint_F_e (double phi, double k, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_ellint_E (double phi, double k, gsl_mode_t mode)
int gsl_sf_ellint_E_e (double phi, double k, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_ellint_P (double phi, double k, double n, gsl_mode_t mode)
int gsl_sf_ellint_P_e (double phi, double k, double n, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_ellint_D (double phi, double k, double n, gsl_mode_t mode)
int gsl_sf_ellint_D_e (double phi, double k, double n, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_ellint_RC (double x, double y, gsl_mode_t mode)
int gsl_sf_ellint_RC_e (double x, double y, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_ellint_RD (double x, double y, double z, gsl_mode_t mode)
int gsl_sf_ellint_RD_e (double x, double y, double z, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_ellint_RF (double x, double y, double z, gsl_mode_t mode)
int gsl_sf_ellint_RF_e (double x, double y, double z, gsl_mode_t mode, gsl_sf_result * result)
double gsl_sf_ellint_RJ (double x, double y, double z, double p, gsl_mode_t mode)
int gsl_sf_ellint_RJ_e (double x, double y, double z, double p, gsl_mode_t mode, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/elljac", ["gsl/gsl_sf_result.h","gsl/gsl_sf_elljac.h"], ["gsl_sf_elljac"]}
# NEXTMAP{"3","SLICEPTR"}
# NEXTMAP{"4","SLICEPTR"}
# NEXTMAP{"5","SLICEPTR"}
int gsl_sf_elljac_e (double u, double m, double * sn, double * cn, double * dn)
# PACKAGE{"github.com/dtromb/gogsl/sf/erf", ["gsl/gsl_sf_result.h","gsl/gsl_sf_erf.h"], ["gsl_sf"]}
double gsl_sf_erf (double x)
int gsl_sf_erf_e (double x, gsl_sf_result * result)
double gsl_sf_erfc (double x)
int gsl_sf_erfc_e (double x, gsl_sf_result * result)
double gsl_sf_log_erfc (double x)
int gsl_sf_log_erfc_e (double x, gsl_sf_result * result)
double gsl_sf_erf_Z (double x)
int gsl_sf_erf_Z_e (double x, gsl_sf_result * result)
double gsl_sf_erf_Q (double x)
int gsl_sf_erf_Q_e (double x, gsl_sf_result * result)
double gsl_sf_hazard (double x)
int gsl_sf_hazard_e (double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/exp", ["gsl/gsl_sf_result.h","gsl/gsl_sf_exp.h"], ["gsl_sf"]}
double gsl_sf_exp (double x)
int gsl_sf_exp_e (double x, gsl_sf_result * result)
int gsl_sf_exp_e10_e (double x, gsl_sf_result_e10 * result)
double gsl_sf_exp_mult (double x, double y)
int gsl_sf_exp_mult_e (double x, double y, gsl_sf_result * result)
int gsl_sf_exp_mult_e10_e (const double x, const double y, gsl_sf_result_e10 * result)
double gsl_sf_expm1 (double x)
int gsl_sf_expm1_e (double x, gsl_sf_result * result)
double gsl_sf_exprel (double x)
int gsl_sf_exprel_e (double x, gsl_sf_result * result)
double gsl_sf_exprel_2 (double x)
int gsl_sf_exprel_2_e (double x, gsl_sf_result * result)
double gsl_sf_exprel_n (int n, double x)
int gsl_sf_exprel_n_e (int n, double x, gsl_sf_result * result)
int gsl_sf_exp_err_e (double x, double dx, gsl_sf_result * result)
int gsl_sf_exp_err_e10_e (double x, double dx, gsl_sf_result_e10 * result)
int gsl_sf_exp_mult_err_e (double x, double dx, double y, double dy, gsl_sf_result * result)
int gsl_sf_exp_mult_err_e10_e (double x, double dx, double y, double dy, gsl_sf_result_e10 * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/expint", ["gsl/gsl_sf_result.h","gsl/gsl_sf_expint.h"], ["gsl_sf_expint","gsl_sf"]}
double gsl_sf_expint_E1 (double x)
int gsl_sf_expint_E1_e (double x, gsl_sf_result * result)
double gsl_sf_expint_E2 (double x)
int gsl_sf_expint_E2_e (double x, gsl_sf_result * result)
double gsl_sf_expint_En (int n, double x)
int gsl_sf_expint_En_e (int n, double x, gsl_sf_result * result)
double gsl_sf_expint_Ei (double x)
int gsl_sf_expint_Ei_e (double x, gsl_sf_result * result)
double gsl_sf_Shi (double x)
int gsl_sf_Shi_e (double x, gsl_sf_result * result)
double gsl_sf_Chi (double x)
int gsl_sf_Chi_e (double x, gsl_sf_result * result)
# NAME{"Ei3"}
double gsl_sf_expint_3 (double x)
# NAME{"Ei3e"}
int gsl_sf_expint_3_e (double x, gsl_sf_result * result)
double gsl_sf_Si (const double x)
int gsl_sf_Si_e (double x, gsl_sf_result * result)
double gsl_sf_Ci (const double x)
int gsl_sf_Ci_e (double x, gsl_sf_result * result)
double gsl_sf_atanint (double x)
int gsl_sf_atanint_e (double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/fermidirac", ["gsl/gsl_sf_result.h","gsl/gsl_sf_fermi_dirac.h"], ["gsl_sf_fermi_dirac"]}
double gsl_sf_fermi_dirac_m1 (double x)
int gsl_sf_fermi_dirac_m1_e (double x, gsl_sf_result * result)
# NAME{"Zero"}
double gsl_sf_fermi_dirac_0 (double x)
# NAME{"ZeroE"}
int gsl_sf_fermi_dirac_0_e (double x, gsl_sf_result * result)
# NAME{"One"}
double gsl_sf_fermi_dirac_1 (double x)
# NAME{"OneE"}
int gsl_sf_fermi_dirac_1_e (double x, gsl_sf_result * result)
# NAME{"Two"}
double gsl_sf_fermi_dirac_2 (double x)
# NAME{"TwoE"}
int gsl_sf_fermi_dirac_2_e (double x, gsl_sf_result * result)
double gsl_sf_fermi_dirac_int (int j, double x)
int gsl_sf_fermi_dirac_int_e (int j, double x, gsl_sf_result * result)
double gsl_sf_fermi_dirac_mhalf (double x)
int gsl_sf_fermi_dirac_mhalf_e (double x, gsl_sf_result * result)
double gsl_sf_fermi_dirac_half (double x)
int gsl_sf_fermi_dirac_half_e (double x, gsl_sf_result * result)
# NAME{"Threehalf"}
double gsl_sf_fermi_dirac_3half (double x)
# NAME{"ThreehalfE"}
int gsl_sf_fermi_dirac_3half_e (double x, gsl_sf_result * result)
double gsl_sf_fermi_dirac_inc_0 (double x, double b)
int gsl_sf_fermi_dirac_inc_0_e (double x, double b, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/gamma", ["gsl/gsl_sf_result.h","gsl/gsl_sf_gamma.h"], ["gsl_sf"]}
double gsl_sf_gamma (double x)
int gsl_sf_gamma_e (double x, gsl_sf_result * result)
double gsl_sf_lngamma (double x)
int gsl_sf_lngamma_e (double x, gsl_sf_result * result)
# NEXTMAP{"3","OUTPTR"}
int gsl_sf_lngamma_sgn_e (double x, gsl_sf_result * result_lg, double * sgn)
double gsl_sf_gammastar (double x)
int gsl_sf_gammastar_e (double x, gsl_sf_result * result)
double gsl_sf_gammainv (double x)
int gsl_sf_gammainv_e (double x, gsl_sf_result * result)
int gsl_sf_lngamma_complex_e (double zr, double zi, gsl_sf_result * lnr, gsl_sf_result * arg)
double gsl_sf_fact (unsigned int n)
int gsl_sf_fact_e (unsigned int n, gsl_sf_result * result)
double gsl_sf_doublefact (unsigned int n)
int gsl_sf_doublefact_e (unsigned int n, gsl_sf_result * result)
double gsl_sf_lnfact (unsigned int n)
int gsl_sf_lnfact_e (unsigned int n, gsl_sf_result * result)
double gsl_sf_lndoublefact (unsigned int n)
int gsl_sf_lndoublefact_e (unsigned int n, gsl_sf_result * result)
double gsl_sf_choose (unsigned int n, unsigned int m)
int gsl_sf_choose_e (unsigned int n, unsigned int m, gsl_sf_result * result)
double gsl_sf_lnchoose (unsigned int n, unsigned int m)
int gsl_sf_lnchoose_e (unsigned int n, unsigned int m, gsl_sf_result * result)
double gsl_sf_taylorcoeff (int n, double x)
int gsl_sf_taylorcoeff_e (int n, double x, gsl_sf_result * result)
double gsl_sf_poch (double a, double x)
int gsl_sf_poch_e (double a, double x, gsl_sf_result * result)
double gsl_sf_lnpoch (double a, double x)
int gsl_sf_lnpoch_e (double a, double x, gsl_sf_result * result)
# NEXTMAP{"4","OUTPTR"}
int gsl_sf_lnpoch_sgn_e (double a, double x, gsl_sf_result * result, double * sgn)
double gsl_sf_pochrel (double a, double x)
int gsl_sf_pochrel_e (double a, double x, gsl_sf_result * result)
double gsl_sf_gamma_inc (double a, double x)
int gsl_sf_gamma_inc_e (double a, double x, gsl_sf_result * result)
double gsl_sf_gamma_inc_Q (double a, double x)
int gsl_sf_gamma_inc_Q_e (double a, double x, gsl_sf_result * result)
double gsl_sf_gamma_inc_P (double a, double x)
int gsl_sf_gamma_inc_P_e (double a, double x, gsl_sf_result * result)
double gsl_sf_beta (double a, double b)
int gsl_sf_beta_e (double a, double b, gsl_sf_result * result)
double gsl_sf_lnbeta (double a, double b)
int gsl_sf_lnbeta_e (double a, double b, gsl_sf_result * result)
double gsl_sf_beta_inc (double a, double b, double x)
int gsl_sf_beta_inc_e (double a, double b, double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/gegenbauer", ["gsl/gsl_sf_result.h","gsl/gsl_sf_gegenbauer.h"], ["gsl_sf"]}
double gsl_sf_gegenpoly_1 (double lambda, double x)
double gsl_sf_gegenpoly_2 (double lambda, double x)
double gsl_sf_gegenpoly_3 (double lambda, double x)
int gsl_sf_gegenpoly_1_e (double lambda, double x, gsl_sf_result * result)
int gsl_sf_gegenpoly_2_e (double lambda, double x, gsl_sf_result * result)
int gsl_sf_gegenpoly_3_e (double lambda, double x, gsl_sf_result * result)
double gsl_sf_gegenpoly_n (int n, double lambda, double x)
int gsl_sf_gegenpoly_n_e (int n, double lambda, double x, gsl_sf_result * result)
int gsl_sf_gegenpoly_array (int nmax, double lambda, double x, double result_array[])
# PACKAGE{"github.com/dtromb/gogsl/sf/hyperg", ["gsl/gsl_sf_result.h","gsl/gsl_sf_hyperg.h"], ["gsl_sf"]}
double gsl_sf_hyperg_0F1 (double c, double x)
int gsl_sf_hyperg_0F1_e (double c, double x, gsl_sf_result * result)
double gsl_sf_hyperg_1F1_int (int m, int n, double x)
int gsl_sf_hyperg_1F1_int_e (int m, int n, double x, gsl_sf_result * result)
double gsl_sf_hyperg_1F1 (double a, double b, double x)
int gsl_sf_hyperg_1F1_e (double a, double b, double x, gsl_sf_result * result)
double gsl_sf_hyperg_U_int (int m, int n, double x)
int gsl_sf_hyperg_U_int_e (int m, int n, double x, gsl_sf_result * result)
int gsl_sf_hyperg_U_int_e10_e (int m, int n, double x, gsl_sf_result_e10 * result)
double gsl_sf_hyperg_U (double a, double b, double x)
int gsl_sf_hyperg_U_e (double a, double b, double x, gsl_sf_result * result)
int gsl_sf_hyperg_U_e10_e (double a, double b, double x, gsl_sf_result_e10 * result)
double gsl_sf_hyperg_2F1 (double a, double b, double c, double x)
int gsl_sf_hyperg_2F1_e (double a, double b, double c, double x, gsl_sf_result * result)
double gsl_sf_hyperg_2F1_conj (double aR, double aI, double c, double x)
int gsl_sf_hyperg_2F1_conj_e (double aR, double aI, double c, double x, gsl_sf_result * result)
double gsl_sf_hyperg_2F1_renorm (double a, double b, double c, double x)
int gsl_sf_hyperg_2F1_renorm_e (double a, double b, double c, double x, gsl_sf_result * result)
double gsl_sf_hyperg_2F1_conj_renorm (double aR, double aI, double c, double x)
int gsl_sf_hyperg_2F1_conj_renorm_e (double aR, double aI, double c, double x, gsl_sf_result * result)
double gsl_sf_hyperg_2F0 (double a, double b, double x)
int gsl_sf_hyperg_2F0_e (double a, double b, double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/laguerre", ["gsl/gsl_sf_result.h","gsl/gsl_sf_laguerre.h"], ["gsl_sf"]}
double gsl_sf_laguerre_1 (double a, double x)
double gsl_sf_laguerre_2 (double a, double x)
double gsl_sf_laguerre_3 (double a, double x)
int gsl_sf_laguerre_1_e (double a, double x, gsl_sf_result * result)
int gsl_sf_laguerre_2_e (double a, double x, gsl_sf_result * result)
int gsl_sf_laguerre_3_e (double a, double x, gsl_sf_result * result)
double gsl_sf_laguerre_n (const int n, const double a, const double x)
int gsl_sf_laguerre_n_e (int n, double a, double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/lambert", ["gsl/gsl_sf_result.h","gsl/gsl_sf_lambert.h"], ["gsl_sf_lambert"]}
double gsl_sf_lambert_W0 (double x)
int gsl_sf_lambert_W0_e (double x, gsl_sf_result * result)
double gsl_sf_lambert_Wm1 (double x)
int gsl_sf_lambert_Wm1_e (double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/legendre", ["gsl/gsl_sf_result.h","gsl/gsl_sf_legendre.h"], ["gsl_sf_legendre","gsl_sf"]}
double gsl_sf_legendre_P1 (double x)
double gsl_sf_legendre_P2 (double x)
double gsl_sf_legendre_P3 (double x)
int gsl_sf_legendre_P1_e (double x, gsl_sf_result * result)
int gsl_sf_legendre_P2_e (double x, gsl_sf_result * result)
int gsl_sf_legendre_P3_e (double x, gsl_sf_result * result)
double gsl_sf_legendre_Pl (int l, double x)
int gsl_sf_legendre_Pl_e (int l, double x, gsl_sf_result * result)
int gsl_sf_legendre_Pl_array (int lmax, double x, double result_array[])
int gsl_sf_legendre_Pl_deriv_array (int lmax, double x, double result_array[], double result_deriv_array[])
double gsl_sf_legendre_Q0 (double x)
int gsl_sf_legendre_Q0_e (double x, gsl_sf_result * result)
double gsl_sf_legendre_Q1 (double x)
int gsl_sf_legendre_Q1_e (double x, gsl_sf_result * result)
double gsl_sf_legendre_Ql (int l, double x)
int gsl_sf_legendre_Ql_e (int l, double x, gsl_sf_result * result)
double gsl_sf_legendre_Plm (int l, int m, double x)
int gsl_sf_legendre_Plm_e (int l, int m, double x, gsl_sf_result * result)
int gsl_sf_legendre_Plm_array (int lmax, int m, double x, double result_array[])
int gsl_sf_legendre_Plm_deriv_array (int lmax, int m, double x, double result_array[], double result_deriv_array[])
double gsl_sf_legendre_sphPlm (int l, int m, double x)
int gsl_sf_legendre_sphPlm_e (int l, int m, double x, gsl_sf_result * result)
int gsl_sf_legendre_sphPlm_array (int lmax, int m, double x, double result_array[])
int gsl_sf_legendre_sphPlm_deriv_array (int lmax, int m, double x, double result_array[], double result_deriv_array[])
int gsl_sf_legendre_array_size (const int lmax, const int m)
double gsl_sf_conicalP_half (double lambda, double x)
int gsl_sf_conicalP_half_e (double lambda, double x, gsl_sf_result * result)
double gsl_sf_conicalP_mhalf (double lambda, double x)
int gsl_sf_conicalP_mhalf_e (double lambda, double x, gsl_sf_result * result)
double gsl_sf_conicalP_0 (double lambda, double x)
int gsl_sf_conicalP_0_e (double lambda, double x, gsl_sf_result * result)
double gsl_sf_conicalP_1 (double lambda, double x)
int gsl_sf_conicalP_1_e (double lambda, double x, gsl_sf_result * result)
double gsl_sf_conicalP_sph_reg (int l, double lambda, double x)
int gsl_sf_conicalP_sph_reg_e (int l, double lambda, double x, gsl_sf_result * result)
double gsl_sf_conicalP_cyl_reg (int m, double lambda, double x)
int gsl_sf_conicalP_cyl_reg_e (int m, double lambda, double x, gsl_sf_result * result)
double gsl_sf_legendre_H3d_0 (double lambda, double eta)
int gsl_sf_legendre_H3d_0_e (double lambda, double eta, gsl_sf_result * result)
double gsl_sf_legendre_H3d_1 (double lambda, double eta)
int gsl_sf_legendre_H3d_1_e (double lambda, double eta, gsl_sf_result * result)
double gsl_sf_legendre_H3d (int l, double lambda, double eta)
int gsl_sf_legendre_H3d_e (int l, double lambda, double eta, gsl_sf_result * result)
int gsl_sf_legendre_H3d_array (int lmax, double lambda, double eta, double result_array[])
# PACKAGE{"github.com/dtromb/gogsl/sf/log", ["gsl/gsl_sf_result.h","gsl/gsl_sf_log.h"], ["gsl_sf"]}
double gsl_sf_log (double x)
int gsl_sf_log_e (double x, gsl_sf_result * result)
double gsl_sf_log_abs (double x)
int gsl_sf_log_abs_e (double x, gsl_sf_result * result)
int gsl_sf_complex_log_e (double zr, double zi, gsl_sf_result * lnr, gsl_sf_result * theta)
double gsl_sf_log_1plusx (double x)
int gsl_sf_log_1plusx_e (double x, gsl_sf_result * result)
double gsl_sf_log_1plusx_mx (double x)
int gsl_sf_log_1plusx_mx_e (double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/mathieu", ["gsl/gsl_sf_result.h","gsl/gsl_sf_mathieu.h"], ["gsl_sf_mathieu"]}
# GSL_REFTYPE{"gsl_sf_mathieu_workspace",[]}
# NAME{"MathieuWorkspaceAlloc"}
gsl_sf_mathieu_workspace * gsl_sf_mathieu_alloc (size_t n, double qmax)
void gsl_sf_mathieu_free (gsl_sf_mathieu_workspace * work)
int gsl_sf_mathieu_a (int n, double q, gsl_sf_result * result)
int gsl_sf_mathieu_b (int n, double q, gsl_sf_result * result)
int gsl_sf_mathieu_a_array (int order_min, int order_max, double q, gsl_sf_mathieu_workspace * work, double result_array[])
int gsl_sf_mathieu_b_array (int order_min, int order_max, double q, gsl_sf_mathieu_workspace * work, double result_array[])
int gsl_sf_mathieu_ce (int n, double q, double x, gsl_sf_result * result)
int gsl_sf_mathieu_se (int n, double q, double x, gsl_sf_result * result)
int gsl_sf_mathieu_ce_array (int nmin, int nmax, double q, double x, gsl_sf_mathieu_workspace * work, double result_array[])
int gsl_sf_mathieu_se_array (int nmin, int nmax, double q, double x, gsl_sf_mathieu_workspace * work, double result_array[])
int gsl_sf_mathieu_Mc (int j, int n, double q, double x, gsl_sf_result * result)
int gsl_sf_mathieu_Ms (int j, int n, double q, double x, gsl_sf_result * result)
int gsl_sf_mathieu_Mc_array (int j, int nmin, int nmax, double q, double x, gsl_sf_mathieu_workspace * work, double result_array[])
int gsl_sf_mathieu_Ms_array (int j, int nmin, int nmax, double q, double x, gsl_sf_mathieu_workspace * work, double result_array[])
# PACKAGE{"github.com/dtromb/gogsl/sf/powint", ["gsl/gsl_sf_result.h","gsl/gsl_sf_pow_int.h"], ["gsl_sf"]}
double gsl_sf_pow_int (double x, int n)
int gsl_sf_pow_int_e (double x, int n, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/psi", ["gsl/gsl_sf_result.h","gsl/gsl_sf_psi.h"], ["gsl_sf"]}
double gsl_sf_psi_int (int n)
int gsl_sf_psi_int_e (int n, gsl_sf_result * result)
double gsl_sf_psi (double x)
int gsl_sf_psi_e (double x, gsl_sf_result * result)
double gsl_sf_psi_1piy (double y)
int gsl_sf_psi_1piy_e (double y, gsl_sf_result * result)
double gsl_sf_psi_1_int (int n)
int gsl_sf_psi_1_int_e (int n, gsl_sf_result * result)
double gsl_sf_psi_1 (double x)
int gsl_sf_psi_1_e (double x, gsl_sf_result * result)
double gsl_sf_psi_n (int n, double x)
int gsl_sf_psi_n_e (int n, double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/syncrhotron", ["gsl/gsl_sf_result.h","gsl/gsl_sf_synchrotron.h"], ["gsl_sf"]}
double gsl_sf_synchrotron_1 (double x)
int gsl_sf_synchrotron_1_e (double x, gsl_sf_result * result)
double gsl_sf_synchrotron_2 (double x)
int gsl_sf_synchrotron_2_e (double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/transport", ["gsl/gsl_sf_result.h","gsl/gsl_sf_transport.h"], ["gsl_sf"]}
double gsl_sf_transport_2 (double x)
int gsl_sf_transport_2_e (double x, gsl_sf_result * result)
double gsl_sf_transport_3 (double x)
int gsl_sf_transport_3_e (double x, gsl_sf_result * result)
double gsl_sf_transport_4 (double x)
int gsl_sf_transport_4_e (double x, gsl_sf_result * result)
double gsl_sf_transport_5 (double x)
int gsl_sf_transport_5_e (double x, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/trig", ["gsl/gsl_sf_result.h","gsl/gsl_sf_trig.h"], ["gsl_sf_trig","gsl_sf"]}
double gsl_sf_sin (double x)
int gsl_sf_sin_e (double x, gsl_sf_result * result)
double gsl_sf_cos (double x)
int gsl_sf_cos_e (double x, gsl_sf_result * result)
double gsl_sf_hypot (double x, double y)
int gsl_sf_hypot_e (double x, double y, gsl_sf_result * result)
double gsl_sf_sinc (double x)
int gsl_sf_sinc_e (double x, gsl_sf_result * result)
int gsl_sf_complex_sin_e (double zr, double zi, gsl_sf_result * szr, gsl_sf_result * szi)
int gsl_sf_complex_cos_e (double zr, double zi, gsl_sf_result * czr, gsl_sf_result * czi)
int gsl_sf_complex_logsin_e (double zr, double zi, gsl_sf_result * lszr, gsl_sf_result * lszi)
double gsl_sf_lnsinh (double x)
int gsl_sf_lnsinh_e (double x, gsl_sf_result * result)
double gsl_sf_lncosh (double x)
int gsl_sf_lncosh_e (double x, gsl_sf_result * result)
int gsl_sf_polar_to_rect (double r, double theta, gsl_sf_result * x, gsl_sf_result * y);
int gsl_sf_rect_to_polar (double x, double y, gsl_sf_result * r, gsl_sf_result * theta)
double gsl_sf_angle_restrict_symm (double theta)
double gsl_sf_angle_restrict_pos (double theta)
int gsl_sf_sin_err_e (double x, double dx, gsl_sf_result * result)
int gsl_sf_cos_err_e (double x, double dx, gsl_sf_result * result)
# PACKAGE{"github.com/dtromb/gogsl/sf/zeta", ["gsl/gsl_sf_result.h","gsl/gsl_sf_zeta.h"], ["gsl_sf"]}
double gsl_sf_zeta_int (int n)
int gsl_sf_zeta_int_e (int n, gsl_sf_result * result)
double gsl_sf_zeta (double s)
int gsl_sf_zeta_e (double s, gsl_sf_result * result)
double gsl_sf_zetam1_int (int n)
int gsl_sf_zetam1_int_e (int n, gsl_sf_result * result)
double gsl_sf_zetam1 (double s)
int gsl_sf_zetam1_e (double s, gsl_sf_result * result)
double gsl_sf_hzeta (double s, double q)
int gsl_sf_hzeta_e (double s, double q, gsl_sf_result * result)
double gsl_sf_eta_int (int n)
int gsl_sf_eta_int_e (int n, gsl_sf_result * result)
double gsl_sf_eta (double s)
int gsl_sf_eta_e (double s, gsl_sf_result * result)
// Vector and matrix support. GSL uses a system of prefixes to describe multiple
// functions with similar signatures that take the various vector and matrix types.
// We support that here with a primitive templating feature.
# SECTION{"Vectors and Matricies"}
# PACKAGE{"github.com/dtromb/gogsl/block",["gsl/gsl_block.h"],["gsl"]}
// Block support - basic arrays of raw C types with a unified interface.
# GSL_REFTYPE{"gsl_block",[]}
# NAME{"BlockAlloc"}
gsl_block * gsl_block_alloc (size_t n)
# NAME{"BlockCalloc"}
gsl_block * gsl_block_calloc (size_t n)
void gsl_block_free (gsl_block * b)
int gsl_block_fwrite (FILE * stream, const gsl_block * b)
int gsl_block_fread (FILE * stream, gsl_block * b)
# NEXTMAP{"3","STRING"}
int gsl_block_fprintf (FILE * stream, const gsl_block * b, const char * format)
int gsl_block_fscanf (FILE * stream, gsl_block * b)
# GSL_PREFIX_TEMPLATE_START{}
# GSL_REFTYPE{"gsl_block_$",[]}
# NAME{"Block%Alloc"}
gsl_block_$ * gsl_block_$_alloc (size_t n)
# NAME{"Block%Calloc"}
gsl_block_$ * gsl_block_$_calloc (size_t n)
void gsl_block_$_free (gsl_block_$ * b)
int gsl_block_$_fwrite (FILE * stream, const gsl_block_$ * b)
int gsl_block_$_fread (FILE * stream, gsl_block_$ * b)
# NEXTMAP{"3","STRING"}
int gsl_block_$_fprintf (FILE * stream, const gsl_block_$ * b, const char * format)
int gsl_block_$_fscanf (FILE * stream, gsl_block_$ * b)
# GSL_PREFIX_TEMPLATE_END{}
// Vector support.
# PACKAGE{"github.com/dtromb/gogsl/vector", ["gsl/gsl_vector.h","unistd.h"], ["gsl_vector"]}
# GSL_REFTYPE{"gsl_vector",[]}
# GSL_REFTYPE{"gsl_vector_view",["CData []byte"]}
# GSL_REFTYPE{"gsl_vector_const_view",["CData []byte"]}
// Complex vectors are declared up front here because some of the basic vector functions use this type.
# GSL_REFTYPE{"gsl_vector_complex",[]}
# NAME{"VectorAlloc"}
gsl_vector * gsl_vector_alloc (size_t n)
# NAME{"VectorCalloc"}
gsl_vector * gsl_vector_calloc (size_t n)
void gsl_vector_free (gsl_vector * v)
double gsl_vector_get (const gsl_vector * v, size_t i)
void gsl_vector_set (gsl_vector * v, size_t i, double x)
void gsl_vector_set_all (gsl_vector * v, double x)
void gsl_vector_set_zero (gsl_vector * v)
int gsl_vector_set_basis (gsl_vector * v, size_t i)
int gsl_vector_fwrite (FILE * stream, const gsl_vector * v)
int gsl_vector_fread (FILE * stream, gsl_vector * v)
# NEXTMAP{"3","STRING"}
int gsl_vector_fprintf (FILE * stream, const gsl_vector * v, const char * format)
int gsl_vector_fscanf (FILE * stream, gsl_vector * v)
gsl_vector_view gsl_vector_subvector (gsl_vector * v, size_t offset, size_t n)
gsl_vector_const_view gsl_vector_const_subvector (const gsl_vector * v, size_t offset, size_t n)
gsl_vector_view gsl_vector_subvector_with_stride (gsl_vector * v, size_t offset, size_t stride, size_t n)
gsl_vector_const_view gsl_vector_const_subvector_with_stride (const gsl_vector * v, size_t offset, size_t stride, size_t n)
gsl_vector_view gsl_vector_complex_real (gsl_vector_complex * v)
gsl_vector_const_view gsl_vector_complex_const_real (const gsl_vector_complex * v)
gsl_vector_view gsl_vector_complex_imag (gsl_vector_complex * v)
gsl_vector_const_view gsl_vector_complex_const_imag (const gsl_vector_complex * v)
int gsl_vector_memcpy (gsl_vector * dest, const gsl_vector * src)
int gsl_vector_swap (gsl_vector * v, gsl_vector * w)
int gsl_vector_swap_elements (gsl_vector * v, size_t i, size_t j)
int gsl_vector_reverse (gsl_vector * v)
int gsl_vector_add (gsl_vector * a, const gsl_vector * b)
int gsl_vector_sub (gsl_vector * a, const gsl_vector * b)
int gsl_vector_mul (gsl_vector * a, const gsl_vector * b)
int gsl_vector_div (gsl_vector * a, const gsl_vector * b)
int gsl_vector_scale (gsl_vector * a, const double x)
int gsl_vector_add_constant (gsl_vector * a, const double x)
double gsl_vector_max (const gsl_vector * v)
double gsl_vector_min (const gsl_vector * v)
# NEXTMAP{"2","OUTPTR"}
# NEXTMAP{"3","OUTPTR"}
void gsl_vector_minmax (const gsl_vector * v, double * min_out, double * max_out)
size_t gsl_vector_max_index (const gsl_vector * v)
size_t gsl_vector_min_index (const gsl_vector * v)
# NEXTMAP{"2","OUTPTR"}
# NEXTMAP{"3","OUTPTR"}
void gsl_vector_minmax_index (const gsl_vector * v, size_t * imin, size_t * imax)
int gsl_vector_isnull (const gsl_vector * v)
int gsl_vector_ispos (const gsl_vector * v)
int gsl_vector_isneg (const gsl_vector * v)
int gsl_vector_isnonneg (const gsl_vector * v)
int gsl_vector_equal (const gsl_vector * u, const gsl_vector * v)
# NEXTMAP{"1","SLICEPTR"}
gsl_vector_view gsl_vector_view_array (double * base, size_t n)
# NEXTMAP{"1","SLICEPTR"}
gsl_vector_const_view gsl_vector_const_view_array (const double * base, size_t n)
# NEXTMAP{"1","SLICEPTR"}
gsl_vector_view gsl_vector_view_array_with_stride (double * base, size_t stride, size_t n)
# NEXTMAP{"1","SLICEPTR"}
gsl_vector_const_view gsl_vector_const_view_array_with_stride (const double * base, size_t stride, size_t n)
# GSL_PREFIX_TEMPLATE_START{}
// Don't redefine gsl_vector_complex.
# TEMPLATE_EXCEPT{"complex"}
# GSL_REFTYPE{"gsl_vector_$",[]}
# GSL_REFTYPE{"gsl_vector_$_view",["CData []byte"]}
# GSL_REFTYPE{"gsl_vector_$_const_view",["CData []byte"]}
# NAME{"Vector%Alloc"}
gsl_vector_$ * gsl_vector_$_alloc (size_t n)
# NAME{"Vector%Calloc"}
gsl_vector_$ * gsl_vector_$_calloc (size_t n)
void gsl_vector_$_free (gsl_vector_$ * v)
@ gsl_vector_$_get (const gsl_vector_$ * v, size_t i)
void gsl_vector_$_set (gsl_vector_$ * v, size_t i, @ x)
void gsl_vector_$_set_all (gsl_vector_$ * v, @ x)
void gsl_vector_$_set_zero (gsl_vector_$ * v)
int gsl_vector_$_set_basis (gsl_vector_$ * v, size_t i)
int gsl_vector_$_fwrite (FILE * stream, const gsl_vector_$ * v)
int gsl_vector_$_fread (FILE * stream, gsl_vector_$ * v)
# NEXTMAP{"3","STRING"}
int gsl_vector_$_fprintf (FILE * stream, const gsl_vector_$ * v, const char * format)
int gsl_vector_$_fscanf (FILE * stream, gsl_vector_$ * v)
gsl_vector_$_view gsl_vector_$_subvector (gsl_vector_$ * v, size_t offset, size_t n)
gsl_vector_$_const_view gsl_vector_$_const_subvector (const gsl_vector_$ * v, size_t offset, size_t n)
gsl_vector_$_view gsl_vector_$_subvector_with_stride (gsl_vector_$ * v, size_t offset, size_t stride, size_t n)
gsl_vector_$_const_view gsl_vector_$_const_subvector_with_stride (const gsl_vector_$ * v, size_t offset, size_t stride, size_t n)
int gsl_vector_$_memcpy (gsl_vector_$ * dest, const gsl_vector_$ * src)
int gsl_vector_$_swap (gsl_vector_$ * v, gsl_vector_$ * w)
int gsl_vector_$_swap_elements (gsl_vector_$ * v, size_t i, size_t j)
int gsl_vector_$_reverse (gsl_vector_$ * v)
int gsl_vector_$_add (gsl_vector_$ * a, const gsl_vector_$ * b)
int gsl_vector_$_sub (gsl_vector_$ * a, const gsl_vector_$ * b)
int gsl_vector_$_mul (gsl_vector_$ * a, const gsl_vector_$ * b)
int gsl_vector_$_div (gsl_vector_$ * a, const gsl_vector_$ * b)
# NEXTMAP{"1","SLICEPTR"}
# TEMPLATE_EXCEPT{["complex","complex_float"]}
gsl_vector_$_view gsl_vector_$_view_array (@ * base, size_t n)
# NEXTMAP{"1","SLICEPTR"}
# TEMPLATE_EXCEPT{["complex","complex_float"]}
gsl_vector_$_const_view gsl_vector_$_const_view_array (const @ * base, size_t n)
# NEXTMAP{"1","SLICEPTR"}
# TEMPLATE_EXCEPT{["complex","complex_float"]}
gsl_vector_$_view gsl_vector_$_view_array_with_stride (@ * base, size_t stride, size_t n)
# NEXTMAP{"1","SLICEPTR"}
# TEMPLATE_EXCEPT{["complex","complex_float"]}
gsl_vector_$_const_view gsl_vector_$_const_view_array_with_stride (const @ * base, size_t stride, size_t n)
// Since the next two functions take /double/ instead of the proper
// templated types for all non-complex types as a special case, we exclude
// the complex types and expand them manually below.
# TEMPLATE_EXCEPT{["complex","complex_float"]}
int gsl_vector_$_scale (gsl_vector_$ * a, const double x)
# TEMPLATE_EXCEPT{["complex","complex_float"]}
int gsl_vector_$_add_constant (gsl_vector_$ * a, const double x)
// The next six min/max functions do not have complex type implementations,
// since a unique result value cannot be defined.
# TEMPLATE_EXCEPT{["complex","complex_float"]}
@ gsl_vector_$_max (const gsl_vector_$ * v)
# TEMPLATE_EXCEPT{["complex","complex_float"]}
@ gsl_vector_$_min (const gsl_vector_$ * v)
# NEXTMAP{"2","OUTPTR"}
# NEXTMAP{"3","OUTPTR"}
# TEMPLATE_EXCEPT{["complex","complex_float"]}
void gsl_vector_$_minmax (const gsl_vector_$ * v, @ * min_out, @ * max_out)
# TEMPLATE_EXCEPT{["complex","complex_float"]}
size_t gsl_vector_$_max_index (const gsl_vector_$ * v)
# TEMPLATE_EXCEPT{["complex","complex_float"]}
size_t gsl_vector_$_min_index (const gsl_vector_$ * v)
# NEXTMAP{"2","OUTPTR"}
# NEXTMAP{"3","OUTPTR"}
# TEMPLATE_EXCEPT{["complex","complex_float"]}
void gsl_vector_$_minmax_index (const gsl_vector_$ * v, size_t * imin, size_t * imax)
int gsl_vector_$_isnull (const gsl_vector_$ * v)
int gsl_vector_$_ispos (const gsl_vector_$ * v)
int gsl_vector_$_isneg (const gsl_vector_$ * v)
int gsl_vector_$_isnonneg (const gsl_vector_$ * v)
int gsl_vector_$_equal (const gsl_vector_$ * u, const gsl_vector_$ * v)
# GSL_PREFIX_TEMPLATE_END{}
// Expansions of the complex-special-case functions from above.
int gsl_vector_complex_scale (gsl_vector_complex * a, const gsl_complex x)
int gsl_vector_complex_float_scale (gsl_vector_complex_float * a, const gsl_complex_float x)
int gsl_vector_complex_add_constant (gsl_vector_complex * a, const gsl_complex x)
int gsl_vector_complex_float_add_constant (gsl_vector_complex_float * a, const gsl_complex_float x)
# NEXTMAP{"1","SLICEPTR"}
gsl_vector_complex_view gsl_vector_complex_view_array (double * base, size_t n)
# NEXTMAP{"1","SLICEPTR"}
gsl_vector_complex_const_view gsl_vector_complex_const_view_array (const double * base, size_t n)
# NEXTMAP{"1","SLICEPTR"}
gsl_vector_complex_view gsl_vector_complex_view_array_with_stride (double * base, size_t stride, size_t n)
# NEXTMAP{"1","SLICEPTR"}
gsl_vector_complex_const_view gsl_vector_complex_const_view_array_with_stride (const double * base, size_t stride, size_t n)
// Matrix support.
# PACKAGE{"github.com/dtromb/gogsl/matrix", ["gsl/gsl_matrix.h","unistd.h"], ["gsl_matrix"]}
# GSL_REFTYPE{"gsl_matrix",[]}
# GSL_REFTYPE{"gsl_matrix_view",["CData []byte"]}
# GSL_REFTYPE{"gsl_matrix_const_view",["CData []byte"]}
# NAME{"MatrixAlloc"}
gsl_matrix * gsl_matrix_alloc (size_t n1, size_t n2)
# NAME{"MatrixCalloc"}
gsl_matrix * gsl_matrix_calloc (size_t n1, size_t n2)
void gsl_matrix_free (gsl_matrix * m)
double gsl_matrix_get (const gsl_matrix * m, size_t i, size_t j)
void gsl_matrix_set (gsl_matrix * m, size_t i, size_t j, double x)
void gsl_matrix_set_all (gsl_matrix * m, double x)
void gsl_matrix_set_zero (gsl_matrix * m)
void gsl_matrix_set_identity (gsl_matrix * m)
int gsl_matrix_fwrite (FILE * stream, const gsl_matrix * m)
int gsl_matrix_fread (FILE * stream, gsl_matrix * m)
# NEXTMAP{"3","STRING"}
int gsl_matrix_fprintf (FILE * stream, const gsl_matrix * m, const char * format)
int gsl_matrix_fscanf (FILE * stream, gsl_matrix * m)
// XXX - template these next 4?
# NEXTMAP{"1","SLICEPTR"}
gsl_matrix_view gsl_matrix_view_array (double * base, size_t n1, size_t n2)
# NEXTMAP{"1","SLICEPTR"}
gsl_matrix_const_view gsl_matrix_const_view_array (const double * base, size_t n1, size_t n2)
# NEXTMAP{"1","SLICEPTR"}
gsl_matrix_view gsl_matrix_view_array_with_tda (double * base, size_t n1, size_t n2, size_t tda)
# NEXTMAP{"1","SLICEPTR"}
gsl_matrix_const_view gsl_matrix_const_view_array_with_tda (const double * base, size_t n1, size_t n2, size_t tda)
gsl_matrix_view gsl_matrix_submatrix (gsl_matrix * m, size_t k1, size_t k2, size_t n1, size_t n2)
gsl_matrix_const_view gsl_matrix_const_submatrix (const gsl_matrix * m, size_t k1, size_t k2, size_t n1, size_t n2)
gsl_matrix_view gsl_matrix_view_vector (gsl_vector * v, size_t n1, size_t n2)
gsl_matrix_const_view gsl_matrix_const_view_vector (const gsl_vector * v, size_t n1, size_t n2)
gsl_matrix_view gsl_matrix_view_vector_with_tda (gsl_vector * v, size_t n1, size_t n2, size_t tda)
gsl_matrix_const_view gsl_matrix_const_view_vector_with_tda (const gsl_vector * v, size_t n1, size_t n2, size_t tda)
gsl_vector_view gsl_matrix_row (gsl_matrix * m, size_t i)
gsl_vector_const_view gsl_matrix_const_row (const gsl_matrix * m, size_t i)
gsl_vector_view gsl_matrix_column (gsl_matrix * m, size_t j)
gsl_vector_const_view gsl_matrix_const_column (const gsl_matrix * m, size_t j)
gsl_vector_view gsl_matrix_subrow (gsl_matrix * m, size_t i, size_t offset, size_t n)
gsl_vector_const_view gsl_matrix_const_subrow (const gsl_matrix * m, size_t i, size_t offset, size_t n)
gsl_vector_view gsl_matrix_subcolumn (gsl_matrix * m, size_t j, size_t offset, size_t n)
gsl_vector_const_view gsl_matrix_const_subcolumn (const gsl_matrix * m, size_t j, size_t offset, size_t n)
gsl_vector_view gsl_matrix_diagonal (gsl_matrix * m)
gsl_vector_const_view gsl_matrix_const_diagonal (const gsl_matrix * m)
gsl_vector_view gsl_matrix_subdiagonal (gsl_matrix * m, size_t k)
gsl_vector_const_view gsl_matrix_const_subdiagonal (const gsl_matrix * m, size_t k)
gsl_vector_view gsl_matrix_superdiagonal (gsl_matrix * m, size_t k)
gsl_vector_const_view gsl_matrix_const_superdiagonal (const gsl_matrix * m, size_t k)
int gsl_matrix_memcpy (gsl_matrix * dest, const gsl_matrix * src)
int gsl_matrix_swap (gsl_matrix * m1, gsl_matrix * m2)
int gsl_matrix_get_row (gsl_vector * v, const gsl_matrix * m, size_t i)
int gsl_matrix_get_col (gsl_vector * v, const gsl_matrix * m, size_t j)
int gsl_matrix_set_row (gsl_matrix * m, size_t i, const gsl_vector * v)
int gsl_matrix_set_col (gsl_matrix * m, size_t j, const gsl_vector * v)
int gsl_matrix_swap_rows (gsl_matrix * m, size_t i, size_t j)
int gsl_matrix_swap_columns (gsl_matrix * m, size_t i, size_t j)
int gsl_matrix_swap_rowcol (gsl_matrix * m, size_t i, size_t j)
int gsl_matrix_transpose_memcpy (gsl_matrix * dest, const gsl_matrix * src)
int gsl_matrix_transpose (gsl_matrix * m)
int gsl_matrix_add (gsl_matrix * a, const gsl_matrix * b)
int gsl_matrix_sub (gsl_matrix * a, const gsl_matrix * b)
int gsl_matrix_mul_elements (gsl_matrix * a, const gsl_matrix * b)
int gsl_matrix_div_elements (gsl_matrix * a, const gsl_matrix * b)
int gsl_matrix_scale (gsl_matrix * a, const double x)
int gsl_matrix_add_constant (gsl_matrix * a, const double x)
double gsl_matrix_max (const gsl_matrix * m)
double gsl_matrix_min (const gsl_matrix * m)
# NEXTMAP{"2","OUTPTR"}
# NEXTMAP{"3","OUTPTR"}
void gsl_matrix_minmax (const gsl_matrix * m, double * min_out, double * max_out)
# NEXTMAP{"2","OUTPTR"}
# NEXTMAP{"3","OUTPTR"}
void gsl_matrix_max_index (const gsl_matrix * m, size_t * imax, size_t * jmax)
# NEXTMAP{"2","OUTPTR"}
# NEXTMAP{"3","OUTPTR"}
void gsl_matrix_min_index (const gsl_matrix * m, size_t * imin, size_t * jmin)
# NEXTMAP{"2","OUTPTR"}
# NEXTMAP{"3","OUTPTR"}
# NEXTMAP{"4","OUTPTR"}
# NEXTMAP{"5","OUTPTR"}
void gsl_matrix_minmax_index (const gsl_matrix * m, size_t * imin, size_t * jmin, size_t * imax, size_t * jmax)
int gsl_matrix_isnull (const gsl_matrix * m)
int gsl_matrix_ispos (const gsl_matrix * m)
int gsl_matrix_isneg (const gsl_matrix * m)
int gsl_matrix_isnonneg (const gsl_matrix * m)
int gsl_matrix_equal (const gsl_matrix * a, const gsl_matrix * b)
# GSL_PREFIX_TEMPLATE_START{}
# GSL_REFTYPE{"gsl_matrix_$",[]}
# GSL_REFTYPE{"gsl_matrix_$_view",["CData []byte"]}
# GSL_REFTYPE{"gsl_matrix_$_const_view",["CData []byte"]}
# NAME{"Matrix%Alloc"}
gsl_matrix_$ * gsl_matrix_$_alloc (size_t n1, size_t n2)
# NAME{"Matrix%Calloc"}
gsl_matrix_$ * gsl_matrix_$_calloc (size_t n1, size_t n2)
void gsl_matrix_$_free (gsl_matrix_$ * m)
@ gsl_matrix_$_get (const gsl_matrix_$ * m, size_t i, size_t j)
void gsl_matrix_$_set (gsl_matrix_$ * m, size_t i, size_t j, @ x)
void gsl_matrix_$_set_all (gsl_matrix_$ * m, @ x)
void gsl_matrix_$_set_zero (gsl_matrix_$ * m)
void gsl_matrix_$_set_identity (gsl_matrix_$ * m)
int gsl_matrix_$_fwrite (FILE * stream, const gsl_matrix_$ * m)
int gsl_matrix_$_fread (FILE * stream, gsl_matrix_$ * m)
# NEXTMAP{"3","STRING"}
int gsl_matrix_$_fprintf (FILE * stream, const gsl_matrix_$ * m, const char * format)
int gsl_matrix_$_fscanf (FILE * stream, gsl_matrix_$ * m)
gsl_matrix_$_view gsl_matrix_$_submatrix (gsl_matrix_$ * m, size_t k1, size_t k2, size_t n1, size_t n2)
gsl_matrix_$_const_view gsl_matrix_$_const_submatrix (const gsl_matrix_$ * m, size_t k1, size_t k2, size_t n1, size_t n2)
gsl_matrix_$_view gsl_matrix_$_view_vector (gsl_vector_$ * v, size_t n1, size_t n2)
gsl_matrix_$_const_view gsl_matrix_$_const_view_vector (const gsl_vector_$ * v, size_t n1, size_t n2)
gsl_matrix_$_view gsl_matrix_$_view_vector_with_tda (gsl_vector_$ * v, size_t n1, size_t n2, size_t tda)
gsl_matrix_$_const_view gsl_matrix_$_const_view_vector_with_tda (const gsl_vector_$ * v, size_t n1, size_t n2, size_t tda)
gsl_vector_$_view gsl_matrix_$_row (gsl_matrix_$ * m, size_t i)
gsl_vector_$_const_view gsl_matrix_$_const_row (const gsl_matrix_$ * m, size_t i)
gsl_vector_$_view gsl_matrix_$_column (gsl_matrix_$ * m, size_t j)
gsl_vector_$_const_view gsl_matrix_$_const_column (const gsl_matrix_$ * m, size_t j)
gsl_vector_$_view gsl_matrix_$_subrow (gsl_matrix_$ * m, size_t i, size_t offset, size_t n)
gsl_vector_$_const_view gsl_matrix_$_const_subrow (const gsl_matrix_$ * m, size_t i, size_t offset, size_t n)
gsl_vector_$_view gsl_matrix_$_subcolumn (gsl_matrix_$ * m, size_t j, size_t offset, size_t n)
gsl_vector_$_const_view gsl_matrix_$_const_subcolumn (const gsl_matrix_$* m, size_t j, size_t offset, size_t n)
gsl_vector_$_view gsl_matrix_$_diagonal (gsl_matrix_$ * m)
gsl_vector_$_const_view gsl_matrix_$_const_diagonal (const gsl_matrix_$ * m)
gsl_vector_$_view gsl_matrix_$_subdiagonal (gsl_matrix_$ * m, size_t k)
gsl_vector_$_const_view gsl_matrix_$_const_subdiagonal (const gsl_matrix_$ * m, size_t k)
gsl_vector_$_view gsl_matrix_$_superdiagonal (gsl_matrix_$ * m, size_t k)
gsl_vector_$_const_view gsl_matrix_$_const_superdiagonal (const gsl_matrix_$ * m, size_t k)
int gsl_matrix_$_memcpy (gsl_matrix_$ * dest, const gsl_matrix_$ * src)
int gsl_matrix_$_swap (gsl_matrix_$ * m1, gsl_matrix_$ * m2)
int gsl_matrix_$_get_row (gsl_vector_$ * v, const gsl_matrix_$ * m, size_t i)
int gsl_matrix_$_get_col (gsl_vector_$ * v, const gsl_matrix_$ * m, size_t j)
int gsl_matrix_$_set_row (gsl_matrix_$ * m, size_t i, const gsl_vector_$ * v)
int gsl_matrix_$_set_col (gsl_matrix_$ * m, size_t j, const gsl_vector_$ * v)
int gsl_matrix_$_swap_rows (gsl_matrix_$ * m, size_t i, size_t j)
int gsl_matrix_$_swap_columns (gsl_matrix_$ * m, size_t i, size_t j)
int gsl_matrix_$_swap_rowcol (gsl_matrix_$ * m, size_t i, size_t j)
int gsl_matrix_$_transpose_memcpy (gsl_matrix_$ * dest, const gsl_matrix_$ * src)
int gsl_matrix_$_transpose (gsl_matrix_$ * m)
int gsl_matrix_$_add (gsl_matrix_$ * a, const gsl_matrix_$ * b)
int gsl_matrix_$_sub (gsl_matrix_$ * a, const gsl_matrix_$ * b)
int gsl_matrix_$_mul_elements (gsl_matrix_$ * a, const gsl_matrix_$ * b)
int gsl_matrix_$_div_elements (gsl_matrix_$ * a, const gsl_matrix_$ * b)
// Complex-valued types are expanded manually below; they do not take double arguments.
# TEMPLATE_EXCEPT{["complex","complex_float"]}
int gsl_matrix_$_scale (gsl_matrix_$ * a, const double x)
# TEMPLATE_EXCEPT{["complex","complex_float"]}
int gsl_matrix_$_add_constant (gsl_matrix_$ * a, const double x)
// Minimum/Maximum functions are not defined for complex matrix types.
# TEMPLATE_EXCEPT{["complex","complex_float"]}
@ gsl_matrix_$_max (const gsl_matrix_$ * m)
# TEMPLATE_EXCEPT{["complex","complex_float"]}
@ gsl_matrix_$_min (const gsl_matrix_$ * m)
# NEXTMAP{"2","OUTPTR"}
# NEXTMAP{"3","OUTPTR"}
# TEMPLATE_EXCEPT{["complex","complex_float"]}
void gsl_matrix_$_minmax (const gsl_matrix_$ * m, @ * min_out, @ * max_out)
# NEXTMAP{"2","OUTPTR"}
# NEXTMAP{"3","OUTPTR"}
# TEMPLATE_EXCEPT{["complex","complex_float"]}
void gsl_matrix_$_max_index (const gsl_matrix_$ * m, size_t * imax, size_t * jmax)
# NEXTMAP{"2","OUTPTR"}
# NEXTMAP{"3","OUTPTR"}