Source file ffi_eigen_generated.ml

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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
module CI = Cstubs_internals

external owl_stub_1_c_eigen_dsmat_s_new : int64 -> int64 -> CI.voidp
  = "owl_stub_1_c_eigen_dsmat_s_new" 

external owl_stub_2_c_eigen_dsmat_s_delete : _ CI.fatptr -> unit
  = "owl_stub_2_c_eigen_dsmat_s_delete" 

external owl_stub_3_c_eigen_dsmat_s_zeros : int64 -> int64 -> CI.voidp
  = "owl_stub_3_c_eigen_dsmat_s_zeros" 

external owl_stub_4_c_eigen_dsmat_s_ones : int64 -> int64 -> CI.voidp
  = "owl_stub_4_c_eigen_dsmat_s_ones" 

external owl_stub_5_c_eigen_dsmat_s_eye : int64 -> CI.voidp
  = "owl_stub_5_c_eigen_dsmat_s_eye" 

external owl_stub_6_c_eigen_dsmat_s_rows : _ CI.fatptr -> int64
  = "owl_stub_6_c_eigen_dsmat_s_rows" 

external owl_stub_7_c_eigen_dsmat_s_cols : _ CI.fatptr -> int64
  = "owl_stub_7_c_eigen_dsmat_s_cols" 

external owl_stub_8_c_eigen_dsmat_s_get
  : _ CI.fatptr -> int64 -> int64 -> float = "owl_stub_8_c_eigen_dsmat_s_get" 

external owl_stub_9_c_eigen_dsmat_s_set
  : _ CI.fatptr -> int64 -> int64 -> float -> unit
  = "owl_stub_9_c_eigen_dsmat_s_set" 

external owl_stub_10_c_eigen_dsmat_s_data : _ CI.fatptr -> CI.voidp
  = "owl_stub_10_c_eigen_dsmat_s_data" 

external owl_stub_11_c_eigen_dsmat_s_of_bigarray
  : _ CI.fatptr -> int64 -> int64 -> CI.voidp
  = "owl_stub_11_c_eigen_dsmat_s_of_bigarray" 

external owl_stub_12_c_eigen_dsmat_s_of_bigarray2
  : _ CI.fatptr -> _ CI.fatptr -> int64 -> int64 -> unit
  = "owl_stub_12_c_eigen_dsmat_s_of_bigarray2" 

external owl_stub_13_c_eigen_dsmat_s_print : _ CI.fatptr -> unit
  = "owl_stub_13_c_eigen_dsmat_s_print" 

external owl_stub_14_c_eigen_dsmat_s_gemm
  : _ CI.fatptr -> int64 -> int64 -> _ CI.fatptr -> int64 -> int64 ->
    CI.voidp
  =
  "owl_stub_14_c_eigen_dsmat_s_gemm_byte6" "owl_stub_14_c_eigen_dsmat_s_gemm" 

external owl_stub_15_c_eigen_dsmat_s_transpose
  : _ CI.fatptr -> int64 -> int64 -> CI.voidp
  = "owl_stub_15_c_eigen_dsmat_s_transpose" 

external owl_stub_16_c_eigen_dsmat_s_swap_rows
  : _ CI.fatptr -> int64 -> int64 -> int64 -> int64 -> unit
  = "owl_stub_16_c_eigen_dsmat_s_swap_rows" 

external owl_stub_17_c_eigen_dsmat_s_swap_cols
  : _ CI.fatptr -> int64 -> int64 -> int64 -> int64 -> unit
  = "owl_stub_17_c_eigen_dsmat_s_swap_cols" 

external owl_stub_18_c_eigen_dsmat_s_rowwise_op
  : int -> _ CI.fatptr -> int64 -> int64 -> _ CI.fatptr -> unit
  = "owl_stub_18_c_eigen_dsmat_s_rowwise_op" 

external owl_stub_19_c_eigen_dsmat_s_colwise_op
  : int -> _ CI.fatptr -> int64 -> int64 -> _ CI.fatptr -> unit
  = "owl_stub_19_c_eigen_dsmat_s_colwise_op" 

external owl_stub_20_c_eigen_dsmat_s_inv
  : _ CI.fatptr -> int64 -> int64 -> CI.voidp
  = "owl_stub_20_c_eigen_dsmat_s_inv" 

external owl_stub_21_c_eigen_dsmat_d_new : int64 -> int64 -> CI.voidp
  = "owl_stub_21_c_eigen_dsmat_d_new" 

external owl_stub_22_c_eigen_dsmat_d_delete : _ CI.fatptr -> unit
  = "owl_stub_22_c_eigen_dsmat_d_delete" 

external owl_stub_23_c_eigen_dsmat_d_zeros : int64 -> int64 -> CI.voidp
  = "owl_stub_23_c_eigen_dsmat_d_zeros" 

external owl_stub_24_c_eigen_dsmat_d_ones : int64 -> int64 -> CI.voidp
  = "owl_stub_24_c_eigen_dsmat_d_ones" 

external owl_stub_25_c_eigen_dsmat_d_eye : int64 -> CI.voidp
  = "owl_stub_25_c_eigen_dsmat_d_eye" 

external owl_stub_26_c_eigen_dsmat_d_rows : _ CI.fatptr -> int64
  = "owl_stub_26_c_eigen_dsmat_d_rows" 

external owl_stub_27_c_eigen_dsmat_d_cols : _ CI.fatptr -> int64
  = "owl_stub_27_c_eigen_dsmat_d_cols" 

external owl_stub_28_c_eigen_dsmat_d_get
  : _ CI.fatptr -> int64 -> int64 -> float
  = "owl_stub_28_c_eigen_dsmat_d_get" 

external owl_stub_29_c_eigen_dsmat_d_set
  : _ CI.fatptr -> int64 -> int64 -> float -> unit
  = "owl_stub_29_c_eigen_dsmat_d_set" 

external owl_stub_30_c_eigen_dsmat_d_data : _ CI.fatptr -> CI.voidp
  = "owl_stub_30_c_eigen_dsmat_d_data" 

external owl_stub_31_c_eigen_dsmat_d_print : _ CI.fatptr -> unit
  = "owl_stub_31_c_eigen_dsmat_d_print" 

external owl_stub_32_c_eigen_dsmat_d_gemm
  : _ CI.fatptr -> int64 -> int64 -> _ CI.fatptr -> int64 -> int64 ->
    CI.voidp
  =
  "owl_stub_32_c_eigen_dsmat_d_gemm_byte6" "owl_stub_32_c_eigen_dsmat_d_gemm" 

external owl_stub_33_c_eigen_dsmat_d_transpose
  : _ CI.fatptr -> int64 -> int64 -> CI.voidp
  = "owl_stub_33_c_eigen_dsmat_d_transpose" 

external owl_stub_34_c_eigen_dsmat_d_swap_rows
  : _ CI.fatptr -> int64 -> int64 -> int64 -> int64 -> unit
  = "owl_stub_34_c_eigen_dsmat_d_swap_rows" 

external owl_stub_35_c_eigen_dsmat_d_swap_cols
  : _ CI.fatptr -> int64 -> int64 -> int64 -> int64 -> unit
  = "owl_stub_35_c_eigen_dsmat_d_swap_cols" 

external owl_stub_36_c_eigen_dsmat_d_rowwise_op
  : int -> _ CI.fatptr -> int64 -> int64 -> _ CI.fatptr -> unit
  = "owl_stub_36_c_eigen_dsmat_d_rowwise_op" 

external owl_stub_37_c_eigen_dsmat_d_colwise_op
  : int -> _ CI.fatptr -> int64 -> int64 -> _ CI.fatptr -> unit
  = "owl_stub_37_c_eigen_dsmat_d_colwise_op" 

external owl_stub_38_c_eigen_dsmat_d_inv
  : _ CI.fatptr -> int64 -> int64 -> CI.voidp
  = "owl_stub_38_c_eigen_dsmat_d_inv" 

external owl_stub_39_c_eigen_dsmat_c_new : int64 -> int64 -> CI.voidp
  = "owl_stub_39_c_eigen_dsmat_c_new" 

external owl_stub_40_c_eigen_dsmat_c_delete : _ CI.fatptr -> unit
  = "owl_stub_40_c_eigen_dsmat_c_delete" 

external owl_stub_41_c_eigen_dsmat_c_zeros : int64 -> int64 -> CI.voidp
  = "owl_stub_41_c_eigen_dsmat_c_zeros" 

external owl_stub_42_c_eigen_dsmat_c_ones : int64 -> int64 -> CI.voidp
  = "owl_stub_42_c_eigen_dsmat_c_ones" 

external owl_stub_43_c_eigen_dsmat_c_eye : int64 -> CI.voidp
  = "owl_stub_43_c_eigen_dsmat_c_eye" 

external owl_stub_44_c_eigen_dsmat_c_rows : _ CI.fatptr -> int64
  = "owl_stub_44_c_eigen_dsmat_c_rows" 

external owl_stub_45_c_eigen_dsmat_c_cols : _ CI.fatptr -> int64
  = "owl_stub_45_c_eigen_dsmat_c_cols" 

external owl_stub_46_c_eigen_dsmat_c_get
  : _ CI.fatptr -> int64 -> int64 -> Complex.t
  = "owl_stub_46_c_eigen_dsmat_c_get" 

external owl_stub_47_c_eigen_dsmat_c_set
  : _ CI.fatptr -> int64 -> int64 -> Complex.t -> unit
  = "owl_stub_47_c_eigen_dsmat_c_set" 

external owl_stub_48_c_eigen_dsmat_c_data : _ CI.fatptr -> CI.voidp
  = "owl_stub_48_c_eigen_dsmat_c_data" 

external owl_stub_49_c_eigen_dsmat_c_print : _ CI.fatptr -> unit
  = "owl_stub_49_c_eigen_dsmat_c_print" 

external owl_stub_50_c_eigen_dsmat_c_gemm
  : _ CI.fatptr -> int64 -> int64 -> _ CI.fatptr -> int64 -> int64 ->
    CI.voidp
  =
  "owl_stub_50_c_eigen_dsmat_c_gemm_byte6" "owl_stub_50_c_eigen_dsmat_c_gemm" 

external owl_stub_51_c_eigen_dsmat_c_transpose
  : _ CI.fatptr -> int64 -> int64 -> CI.voidp
  = "owl_stub_51_c_eigen_dsmat_c_transpose" 

external owl_stub_52_c_eigen_dsmat_c_swap_rows
  : _ CI.fatptr -> int64 -> int64 -> int64 -> int64 -> unit
  = "owl_stub_52_c_eigen_dsmat_c_swap_rows" 

external owl_stub_53_c_eigen_dsmat_c_swap_cols
  : _ CI.fatptr -> int64 -> int64 -> int64 -> int64 -> unit
  = "owl_stub_53_c_eigen_dsmat_c_swap_cols" 

external owl_stub_54_c_eigen_dsmat_c_rowwise_op
  : int -> _ CI.fatptr -> int64 -> int64 -> _ CI.fatptr -> unit
  = "owl_stub_54_c_eigen_dsmat_c_rowwise_op" 

external owl_stub_55_c_eigen_dsmat_c_colwise_op
  : int -> _ CI.fatptr -> int64 -> int64 -> _ CI.fatptr -> unit
  = "owl_stub_55_c_eigen_dsmat_c_colwise_op" 

external owl_stub_56_c_eigen_dsmat_c_inv
  : _ CI.fatptr -> int64 -> int64 -> CI.voidp
  = "owl_stub_56_c_eigen_dsmat_c_inv" 

external owl_stub_57_c_eigen_dsmat_z_new : int64 -> int64 -> CI.voidp
  = "owl_stub_57_c_eigen_dsmat_z_new" 

external owl_stub_58_c_eigen_dsmat_z_delete : _ CI.fatptr -> unit
  = "owl_stub_58_c_eigen_dsmat_z_delete" 

external owl_stub_59_c_eigen_dsmat_z_zeros : int64 -> int64 -> CI.voidp
  = "owl_stub_59_c_eigen_dsmat_z_zeros" 

external owl_stub_60_c_eigen_dsmat_z_ones : int64 -> int64 -> CI.voidp
  = "owl_stub_60_c_eigen_dsmat_z_ones" 

external owl_stub_61_c_eigen_dsmat_z_eye : int64 -> CI.voidp
  = "owl_stub_61_c_eigen_dsmat_z_eye" 

external owl_stub_62_c_eigen_dsmat_z_rows : _ CI.fatptr -> int64
  = "owl_stub_62_c_eigen_dsmat_z_rows" 

external owl_stub_63_c_eigen_dsmat_z_cols : _ CI.fatptr -> int64
  = "owl_stub_63_c_eigen_dsmat_z_cols" 

external owl_stub_64_c_eigen_dsmat_z_get
  : _ CI.fatptr -> int64 -> int64 -> Complex.t
  = "owl_stub_64_c_eigen_dsmat_z_get" 

external owl_stub_65_c_eigen_dsmat_z_set
  : _ CI.fatptr -> int64 -> int64 -> Complex.t -> unit
  = "owl_stub_65_c_eigen_dsmat_z_set" 

external owl_stub_66_c_eigen_dsmat_z_data : _ CI.fatptr -> CI.voidp
  = "owl_stub_66_c_eigen_dsmat_z_data" 

external owl_stub_67_c_eigen_dsmat_z_print : _ CI.fatptr -> unit
  = "owl_stub_67_c_eigen_dsmat_z_print" 

external owl_stub_68_c_eigen_dsmat_z_gemm
  : _ CI.fatptr -> int64 -> int64 -> _ CI.fatptr -> int64 -> int64 ->
    CI.voidp
  =
  "owl_stub_68_c_eigen_dsmat_z_gemm_byte6" "owl_stub_68_c_eigen_dsmat_z_gemm" 

external owl_stub_69_c_eigen_dsmat_z_transpose
  : _ CI.fatptr -> int64 -> int64 -> CI.voidp
  = "owl_stub_69_c_eigen_dsmat_z_transpose" 

external owl_stub_70_c_eigen_dsmat_z_swap_rows
  : _ CI.fatptr -> int64 -> int64 -> int64 -> int64 -> unit
  = "owl_stub_70_c_eigen_dsmat_z_swap_rows" 

external owl_stub_71_c_eigen_dsmat_z_swap_cols
  : _ CI.fatptr -> int64 -> int64 -> int64 -> int64 -> unit
  = "owl_stub_71_c_eigen_dsmat_z_swap_cols" 

external owl_stub_72_c_eigen_dsmat_z_rowwise_op
  : int -> _ CI.fatptr -> int64 -> int64 -> _ CI.fatptr -> unit
  = "owl_stub_72_c_eigen_dsmat_z_rowwise_op" 

external owl_stub_73_c_eigen_dsmat_z_colwise_op
  : int -> _ CI.fatptr -> int64 -> int64 -> _ CI.fatptr -> unit
  = "owl_stub_73_c_eigen_dsmat_z_colwise_op" 

external owl_stub_74_c_eigen_dsmat_z_inv
  : _ CI.fatptr -> int64 -> int64 -> CI.voidp
  = "owl_stub_74_c_eigen_dsmat_z_inv" 

external owl_stub_75_c_eigen_spmat_s_new
  : int64 -> int64 -> int64 -> CI.voidp = "owl_stub_75_c_eigen_spmat_s_new" 

external owl_stub_76_c_eigen_spmat_s_delete : _ CI.fatptr -> unit
  = "owl_stub_76_c_eigen_spmat_s_delete" 

external owl_stub_77_c_eigen_spmat_s_eye : int64 -> CI.voidp
  = "owl_stub_77_c_eigen_spmat_s_eye" 

external owl_stub_78_c_eigen_spmat_s_rows : _ CI.fatptr -> int64
  = "owl_stub_78_c_eigen_spmat_s_rows" 

external owl_stub_79_c_eigen_spmat_s_cols : _ CI.fatptr -> int64
  = "owl_stub_79_c_eigen_spmat_s_cols" 

external owl_stub_80_c_eigen_spmat_s_nnz : _ CI.fatptr -> int64
  = "owl_stub_80_c_eigen_spmat_s_nnz" 

external owl_stub_81_c_eigen_spmat_s_get
  : _ CI.fatptr -> int64 -> int64 -> float
  = "owl_stub_81_c_eigen_spmat_s_get" 

external owl_stub_82_c_eigen_spmat_s_set
  : _ CI.fatptr -> int64 -> int64 -> float -> unit
  = "owl_stub_82_c_eigen_spmat_s_set" 

external owl_stub_83_c_eigen_spmat_s_insert
  : _ CI.fatptr -> int64 -> int64 -> float -> unit
  = "owl_stub_83_c_eigen_spmat_s_insert" 

external owl_stub_84_c_eigen_spmat_s_reset : _ CI.fatptr -> unit
  = "owl_stub_84_c_eigen_spmat_s_reset" 

external owl_stub_85_c_eigen_spmat_s_is_compressed : _ CI.fatptr -> int
  = "owl_stub_85_c_eigen_spmat_s_is_compressed" 

external owl_stub_86_c_eigen_spmat_s_compress : _ CI.fatptr -> unit
  = "owl_stub_86_c_eigen_spmat_s_compress" 

external owl_stub_87_c_eigen_spmat_s_uncompress : _ CI.fatptr -> unit
  = "owl_stub_87_c_eigen_spmat_s_uncompress" 

external owl_stub_88_c_eigen_spmat_s_reshape
  : _ CI.fatptr -> int64 -> int64 -> unit
  = "owl_stub_88_c_eigen_spmat_s_reshape" 

external owl_stub_89_c_eigen_spmat_s_prune
  : _ CI.fatptr -> float -> float -> unit
  = "owl_stub_89_c_eigen_spmat_s_prune" 

external owl_stub_90_c_eigen_spmat_s_valueptr
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_90_c_eigen_spmat_s_valueptr" 

external owl_stub_91_c_eigen_spmat_s_innerindexptr : _ CI.fatptr -> CI.voidp
  = "owl_stub_91_c_eigen_spmat_s_innerindexptr" 

external owl_stub_92_c_eigen_spmat_s_outerindexptr : _ CI.fatptr -> CI.voidp
  = "owl_stub_92_c_eigen_spmat_s_outerindexptr" 

external owl_stub_93_c_eigen_spmat_s_clone : _ CI.fatptr -> CI.voidp
  = "owl_stub_93_c_eigen_spmat_s_clone" 

external owl_stub_94_c_eigen_spmat_s_row : _ CI.fatptr -> int64 -> CI.voidp
  = "owl_stub_94_c_eigen_spmat_s_row" 

external owl_stub_95_c_eigen_spmat_s_col : _ CI.fatptr -> int64 -> CI.voidp
  = "owl_stub_95_c_eigen_spmat_s_col" 

external owl_stub_96_c_eigen_spmat_s_transpose : _ CI.fatptr -> CI.voidp
  = "owl_stub_96_c_eigen_spmat_s_transpose" 

external owl_stub_97_c_eigen_spmat_s_adjoint : _ CI.fatptr -> CI.voidp
  = "owl_stub_97_c_eigen_spmat_s_adjoint" 

external owl_stub_98_c_eigen_spmat_s_diagonal : _ CI.fatptr -> CI.voidp
  = "owl_stub_98_c_eigen_spmat_s_diagonal" 

external owl_stub_99_c_eigen_spmat_s_trace : _ CI.fatptr -> float
  = "owl_stub_99_c_eigen_spmat_s_trace" 

external owl_stub_100_c_eigen_spmat_s_is_zero : _ CI.fatptr -> int
  = "owl_stub_100_c_eigen_spmat_s_is_zero" 

external owl_stub_101_c_eigen_spmat_s_is_positive : _ CI.fatptr -> int
  = "owl_stub_101_c_eigen_spmat_s_is_positive" 

external owl_stub_102_c_eigen_spmat_s_is_negative : _ CI.fatptr -> int
  = "owl_stub_102_c_eigen_spmat_s_is_negative" 

external owl_stub_103_c_eigen_spmat_s_is_nonpositive : _ CI.fatptr -> int
  = "owl_stub_103_c_eigen_spmat_s_is_nonpositive" 

external owl_stub_104_c_eigen_spmat_s_is_nonnegative : _ CI.fatptr -> int
  = "owl_stub_104_c_eigen_spmat_s_is_nonnegative" 

external owl_stub_105_c_eigen_spmat_s_is_equal
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_105_c_eigen_spmat_s_is_equal" 

external owl_stub_106_c_eigen_spmat_s_is_unequal
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_106_c_eigen_spmat_s_is_unequal" 

external owl_stub_107_c_eigen_spmat_s_is_greater
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_107_c_eigen_spmat_s_is_greater" 

external owl_stub_108_c_eigen_spmat_s_is_smaller
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_108_c_eigen_spmat_s_is_smaller" 

external owl_stub_109_c_eigen_spmat_s_equal_or_greater
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_109_c_eigen_spmat_s_equal_or_greater" 

external owl_stub_110_c_eigen_spmat_s_equal_or_smaller
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_110_c_eigen_spmat_s_equal_or_smaller" 

external owl_stub_111_c_eigen_spmat_s_add
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_111_c_eigen_spmat_s_add" 

external owl_stub_112_c_eigen_spmat_s_sub
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_112_c_eigen_spmat_s_sub" 

external owl_stub_113_c_eigen_spmat_s_mul
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_113_c_eigen_spmat_s_mul" 

external owl_stub_114_c_eigen_spmat_s_div
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_114_c_eigen_spmat_s_div" 

external owl_stub_115_c_eigen_spmat_s_gemm
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_115_c_eigen_spmat_s_gemm" 

external owl_stub_116_c_eigen_spmat_s_add_scalar
  : _ CI.fatptr -> float -> CI.voidp
  = "owl_stub_116_c_eigen_spmat_s_add_scalar" 

external owl_stub_117_c_eigen_spmat_s_sub_scalar
  : _ CI.fatptr -> float -> CI.voidp
  = "owl_stub_117_c_eigen_spmat_s_sub_scalar" 

external owl_stub_118_c_eigen_spmat_s_mul_scalar
  : _ CI.fatptr -> float -> CI.voidp
  = "owl_stub_118_c_eigen_spmat_s_mul_scalar" 

external owl_stub_119_c_eigen_spmat_s_div_scalar
  : _ CI.fatptr -> float -> CI.voidp
  = "owl_stub_119_c_eigen_spmat_s_div_scalar" 

external owl_stub_120_c_eigen_spmat_s_min2
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_120_c_eigen_spmat_s_min2" 

external owl_stub_121_c_eigen_spmat_s_max2
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_121_c_eigen_spmat_s_max2" 

external owl_stub_122_c_eigen_spmat_s_sum : _ CI.fatptr -> float
  = "owl_stub_122_c_eigen_spmat_s_sum" 

external owl_stub_123_c_eigen_spmat_s_min : _ CI.fatptr -> float
  = "owl_stub_123_c_eigen_spmat_s_min" 

external owl_stub_124_c_eigen_spmat_s_max : _ CI.fatptr -> float
  = "owl_stub_124_c_eigen_spmat_s_max" 

external owl_stub_125_c_eigen_spmat_s_abs : _ CI.fatptr -> CI.voidp
  = "owl_stub_125_c_eigen_spmat_s_abs" 

external owl_stub_126_c_eigen_spmat_s_neg : _ CI.fatptr -> CI.voidp
  = "owl_stub_126_c_eigen_spmat_s_neg" 

external owl_stub_127_c_eigen_spmat_s_sqrt : _ CI.fatptr -> CI.voidp
  = "owl_stub_127_c_eigen_spmat_s_sqrt" 

external owl_stub_128_c_eigen_spmat_s_print : _ CI.fatptr -> unit
  = "owl_stub_128_c_eigen_spmat_s_print" 

external owl_stub_129_c_eigen_spmat_d_new
  : int64 -> int64 -> int64 -> CI.voidp = "owl_stub_129_c_eigen_spmat_d_new" 

external owl_stub_130_c_eigen_spmat_d_delete : _ CI.fatptr -> unit
  = "owl_stub_130_c_eigen_spmat_d_delete" 

external owl_stub_131_c_eigen_spmat_d_eye : int64 -> CI.voidp
  = "owl_stub_131_c_eigen_spmat_d_eye" 

external owl_stub_132_c_eigen_spmat_d_rows : _ CI.fatptr -> int64
  = "owl_stub_132_c_eigen_spmat_d_rows" 

external owl_stub_133_c_eigen_spmat_d_cols : _ CI.fatptr -> int64
  = "owl_stub_133_c_eigen_spmat_d_cols" 

external owl_stub_134_c_eigen_spmat_d_nnz : _ CI.fatptr -> int64
  = "owl_stub_134_c_eigen_spmat_d_nnz" 

external owl_stub_135_c_eigen_spmat_d_get
  : _ CI.fatptr -> int64 -> int64 -> float
  = "owl_stub_135_c_eigen_spmat_d_get" 

external owl_stub_136_c_eigen_spmat_d_set
  : _ CI.fatptr -> int64 -> int64 -> float -> unit
  = "owl_stub_136_c_eigen_spmat_d_set" 

external owl_stub_137_c_eigen_spmat_d_insert
  : _ CI.fatptr -> int64 -> int64 -> float -> unit
  = "owl_stub_137_c_eigen_spmat_d_insert" 

external owl_stub_138_c_eigen_spmat_d_reset : _ CI.fatptr -> unit
  = "owl_stub_138_c_eigen_spmat_d_reset" 

external owl_stub_139_c_eigen_spmat_d_is_compressed : _ CI.fatptr -> int
  = "owl_stub_139_c_eigen_spmat_d_is_compressed" 

external owl_stub_140_c_eigen_spmat_d_compress : _ CI.fatptr -> unit
  = "owl_stub_140_c_eigen_spmat_d_compress" 

external owl_stub_141_c_eigen_spmat_d_uncompress : _ CI.fatptr -> unit
  = "owl_stub_141_c_eigen_spmat_d_uncompress" 

external owl_stub_142_c_eigen_spmat_d_reshape
  : _ CI.fatptr -> int64 -> int64 -> unit
  = "owl_stub_142_c_eigen_spmat_d_reshape" 

external owl_stub_143_c_eigen_spmat_d_prune
  : _ CI.fatptr -> float -> float -> unit
  = "owl_stub_143_c_eigen_spmat_d_prune" 

external owl_stub_144_c_eigen_spmat_d_valueptr
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_144_c_eigen_spmat_d_valueptr" 

external owl_stub_145_c_eigen_spmat_d_innerindexptr : _ CI.fatptr -> CI.voidp
  = "owl_stub_145_c_eigen_spmat_d_innerindexptr" 

external owl_stub_146_c_eigen_spmat_d_outerindexptr : _ CI.fatptr -> CI.voidp
  = "owl_stub_146_c_eigen_spmat_d_outerindexptr" 

external owl_stub_147_c_eigen_spmat_d_clone : _ CI.fatptr -> CI.voidp
  = "owl_stub_147_c_eigen_spmat_d_clone" 

external owl_stub_148_c_eigen_spmat_d_row : _ CI.fatptr -> int64 -> CI.voidp
  = "owl_stub_148_c_eigen_spmat_d_row" 

external owl_stub_149_c_eigen_spmat_d_col : _ CI.fatptr -> int64 -> CI.voidp
  = "owl_stub_149_c_eigen_spmat_d_col" 

external owl_stub_150_c_eigen_spmat_d_transpose : _ CI.fatptr -> CI.voidp
  = "owl_stub_150_c_eigen_spmat_d_transpose" 

external owl_stub_151_c_eigen_spmat_d_adjoint : _ CI.fatptr -> CI.voidp
  = "owl_stub_151_c_eigen_spmat_d_adjoint" 

external owl_stub_152_c_eigen_spmat_d_diagonal : _ CI.fatptr -> CI.voidp
  = "owl_stub_152_c_eigen_spmat_d_diagonal" 

external owl_stub_153_c_eigen_spmat_d_trace : _ CI.fatptr -> float
  = "owl_stub_153_c_eigen_spmat_d_trace" 

external owl_stub_154_c_eigen_spmat_d_is_zero : _ CI.fatptr -> int
  = "owl_stub_154_c_eigen_spmat_d_is_zero" 

external owl_stub_155_c_eigen_spmat_d_is_positive : _ CI.fatptr -> int
  = "owl_stub_155_c_eigen_spmat_d_is_positive" 

external owl_stub_156_c_eigen_spmat_d_is_negative : _ CI.fatptr -> int
  = "owl_stub_156_c_eigen_spmat_d_is_negative" 

external owl_stub_157_c_eigen_spmat_d_is_nonpositive : _ CI.fatptr -> int
  = "owl_stub_157_c_eigen_spmat_d_is_nonpositive" 

external owl_stub_158_c_eigen_spmat_d_is_nonnegative : _ CI.fatptr -> int
  = "owl_stub_158_c_eigen_spmat_d_is_nonnegative" 

external owl_stub_159_c_eigen_spmat_d_is_equal
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_159_c_eigen_spmat_d_is_equal" 

external owl_stub_160_c_eigen_spmat_d_is_unequal
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_160_c_eigen_spmat_d_is_unequal" 

external owl_stub_161_c_eigen_spmat_d_is_greater
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_161_c_eigen_spmat_d_is_greater" 

external owl_stub_162_c_eigen_spmat_d_is_smaller
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_162_c_eigen_spmat_d_is_smaller" 

external owl_stub_163_c_eigen_spmat_d_equal_or_greater
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_163_c_eigen_spmat_d_equal_or_greater" 

external owl_stub_164_c_eigen_spmat_d_equal_or_smaller
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_164_c_eigen_spmat_d_equal_or_smaller" 

external owl_stub_165_c_eigen_spmat_d_add
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_165_c_eigen_spmat_d_add" 

external owl_stub_166_c_eigen_spmat_d_sub
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_166_c_eigen_spmat_d_sub" 

external owl_stub_167_c_eigen_spmat_d_mul
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_167_c_eigen_spmat_d_mul" 

external owl_stub_168_c_eigen_spmat_d_div
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_168_c_eigen_spmat_d_div" 

external owl_stub_169_c_eigen_spmat_d_gemm
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_169_c_eigen_spmat_d_gemm" 

external owl_stub_170_c_eigen_spmat_d_add_scalar
  : _ CI.fatptr -> float -> CI.voidp
  = "owl_stub_170_c_eigen_spmat_d_add_scalar" 

external owl_stub_171_c_eigen_spmat_d_sub_scalar
  : _ CI.fatptr -> float -> CI.voidp
  = "owl_stub_171_c_eigen_spmat_d_sub_scalar" 

external owl_stub_172_c_eigen_spmat_d_mul_scalar
  : _ CI.fatptr -> float -> CI.voidp
  = "owl_stub_172_c_eigen_spmat_d_mul_scalar" 

external owl_stub_173_c_eigen_spmat_d_div_scalar
  : _ CI.fatptr -> float -> CI.voidp
  = "owl_stub_173_c_eigen_spmat_d_div_scalar" 

external owl_stub_174_c_eigen_spmat_d_min2
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_174_c_eigen_spmat_d_min2" 

external owl_stub_175_c_eigen_spmat_d_max2
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_175_c_eigen_spmat_d_max2" 

external owl_stub_176_c_eigen_spmat_d_sum : _ CI.fatptr -> float
  = "owl_stub_176_c_eigen_spmat_d_sum" 

external owl_stub_177_c_eigen_spmat_d_min : _ CI.fatptr -> float
  = "owl_stub_177_c_eigen_spmat_d_min" 

external owl_stub_178_c_eigen_spmat_d_max : _ CI.fatptr -> float
  = "owl_stub_178_c_eigen_spmat_d_max" 

external owl_stub_179_c_eigen_spmat_d_abs : _ CI.fatptr -> CI.voidp
  = "owl_stub_179_c_eigen_spmat_d_abs" 

external owl_stub_180_c_eigen_spmat_d_neg : _ CI.fatptr -> CI.voidp
  = "owl_stub_180_c_eigen_spmat_d_neg" 

external owl_stub_181_c_eigen_spmat_d_sqrt : _ CI.fatptr -> CI.voidp
  = "owl_stub_181_c_eigen_spmat_d_sqrt" 

external owl_stub_182_c_eigen_spmat_d_print : _ CI.fatptr -> unit
  = "owl_stub_182_c_eigen_spmat_d_print" 

external owl_stub_183_c_eigen_spmat_c_new
  : int64 -> int64 -> int64 -> CI.voidp = "owl_stub_183_c_eigen_spmat_c_new" 

external owl_stub_184_c_eigen_spmat_c_delete : _ CI.fatptr -> unit
  = "owl_stub_184_c_eigen_spmat_c_delete" 

external owl_stub_185_c_eigen_spmat_c_eye : int64 -> CI.voidp
  = "owl_stub_185_c_eigen_spmat_c_eye" 

external owl_stub_186_c_eigen_spmat_c_rows : _ CI.fatptr -> int64
  = "owl_stub_186_c_eigen_spmat_c_rows" 

external owl_stub_187_c_eigen_spmat_c_cols : _ CI.fatptr -> int64
  = "owl_stub_187_c_eigen_spmat_c_cols" 

external owl_stub_188_c_eigen_spmat_c_nnz : _ CI.fatptr -> int64
  = "owl_stub_188_c_eigen_spmat_c_nnz" 

external owl_stub_189_c_eigen_spmat_c_get
  : _ CI.fatptr -> int64 -> int64 -> Complex.t
  = "owl_stub_189_c_eigen_spmat_c_get" 

external owl_stub_190_c_eigen_spmat_c_set
  : _ CI.fatptr -> int64 -> int64 -> Complex.t -> unit
  = "owl_stub_190_c_eigen_spmat_c_set" 

external owl_stub_191_c_eigen_spmat_c_insert
  : _ CI.fatptr -> int64 -> int64 -> Complex.t -> unit
  = "owl_stub_191_c_eigen_spmat_c_insert" 

external owl_stub_192_c_eigen_spmat_c_reset : _ CI.fatptr -> unit
  = "owl_stub_192_c_eigen_spmat_c_reset" 

external owl_stub_193_c_eigen_spmat_c_is_compressed : _ CI.fatptr -> int
  = "owl_stub_193_c_eigen_spmat_c_is_compressed" 

external owl_stub_194_c_eigen_spmat_c_compress : _ CI.fatptr -> unit
  = "owl_stub_194_c_eigen_spmat_c_compress" 

external owl_stub_195_c_eigen_spmat_c_uncompress : _ CI.fatptr -> unit
  = "owl_stub_195_c_eigen_spmat_c_uncompress" 

external owl_stub_196_c_eigen_spmat_c_reshape
  : _ CI.fatptr -> int64 -> int64 -> unit
  = "owl_stub_196_c_eigen_spmat_c_reshape" 

external owl_stub_197_c_eigen_spmat_c_prune
  : _ CI.fatptr -> Complex.t -> float -> unit
  = "owl_stub_197_c_eigen_spmat_c_prune" 

external owl_stub_198_c_eigen_spmat_c_valueptr
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_198_c_eigen_spmat_c_valueptr" 

external owl_stub_199_c_eigen_spmat_c_innerindexptr : _ CI.fatptr -> CI.voidp
  = "owl_stub_199_c_eigen_spmat_c_innerindexptr" 

external owl_stub_200_c_eigen_spmat_c_outerindexptr : _ CI.fatptr -> CI.voidp
  = "owl_stub_200_c_eigen_spmat_c_outerindexptr" 

external owl_stub_201_c_eigen_spmat_c_clone : _ CI.fatptr -> CI.voidp
  = "owl_stub_201_c_eigen_spmat_c_clone" 

external owl_stub_202_c_eigen_spmat_c_row : _ CI.fatptr -> int64 -> CI.voidp
  = "owl_stub_202_c_eigen_spmat_c_row" 

external owl_stub_203_c_eigen_spmat_c_col : _ CI.fatptr -> int64 -> CI.voidp
  = "owl_stub_203_c_eigen_spmat_c_col" 

external owl_stub_204_c_eigen_spmat_c_transpose : _ CI.fatptr -> CI.voidp
  = "owl_stub_204_c_eigen_spmat_c_transpose" 

external owl_stub_205_c_eigen_spmat_c_adjoint : _ CI.fatptr -> CI.voidp
  = "owl_stub_205_c_eigen_spmat_c_adjoint" 

external owl_stub_206_c_eigen_spmat_c_diagonal : _ CI.fatptr -> CI.voidp
  = "owl_stub_206_c_eigen_spmat_c_diagonal" 

external owl_stub_207_c_eigen_spmat_c_trace : _ CI.fatptr -> Complex.t
  = "owl_stub_207_c_eigen_spmat_c_trace" 

external owl_stub_208_c_eigen_spmat_c_is_zero : _ CI.fatptr -> int
  = "owl_stub_208_c_eigen_spmat_c_is_zero" 

external owl_stub_209_c_eigen_spmat_c_is_positive : _ CI.fatptr -> int
  = "owl_stub_209_c_eigen_spmat_c_is_positive" 

external owl_stub_210_c_eigen_spmat_c_is_negative : _ CI.fatptr -> int
  = "owl_stub_210_c_eigen_spmat_c_is_negative" 

external owl_stub_211_c_eigen_spmat_c_is_nonpositive : _ CI.fatptr -> int
  = "owl_stub_211_c_eigen_spmat_c_is_nonpositive" 

external owl_stub_212_c_eigen_spmat_c_is_nonnegative : _ CI.fatptr -> int
  = "owl_stub_212_c_eigen_spmat_c_is_nonnegative" 

external owl_stub_213_c_eigen_spmat_c_is_equal
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_213_c_eigen_spmat_c_is_equal" 

external owl_stub_214_c_eigen_spmat_c_is_unequal
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_214_c_eigen_spmat_c_is_unequal" 

external owl_stub_215_c_eigen_spmat_c_is_greater
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_215_c_eigen_spmat_c_is_greater" 

external owl_stub_216_c_eigen_spmat_c_is_smaller
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_216_c_eigen_spmat_c_is_smaller" 

external owl_stub_217_c_eigen_spmat_c_equal_or_greater
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_217_c_eigen_spmat_c_equal_or_greater" 

external owl_stub_218_c_eigen_spmat_c_equal_or_smaller
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_218_c_eigen_spmat_c_equal_or_smaller" 

external owl_stub_219_c_eigen_spmat_c_add
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_219_c_eigen_spmat_c_add" 

external owl_stub_220_c_eigen_spmat_c_sub
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_220_c_eigen_spmat_c_sub" 

external owl_stub_221_c_eigen_spmat_c_mul
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_221_c_eigen_spmat_c_mul" 

external owl_stub_222_c_eigen_spmat_c_div
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_222_c_eigen_spmat_c_div" 

external owl_stub_223_c_eigen_spmat_c_gemm
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_223_c_eigen_spmat_c_gemm" 

external owl_stub_224_c_eigen_spmat_c_add_scalar
  : _ CI.fatptr -> Complex.t -> CI.voidp
  = "owl_stub_224_c_eigen_spmat_c_add_scalar" 

external owl_stub_225_c_eigen_spmat_c_sub_scalar
  : _ CI.fatptr -> Complex.t -> CI.voidp
  = "owl_stub_225_c_eigen_spmat_c_sub_scalar" 

external owl_stub_226_c_eigen_spmat_c_mul_scalar
  : _ CI.fatptr -> Complex.t -> CI.voidp
  = "owl_stub_226_c_eigen_spmat_c_mul_scalar" 

external owl_stub_227_c_eigen_spmat_c_div_scalar
  : _ CI.fatptr -> Complex.t -> CI.voidp
  = "owl_stub_227_c_eigen_spmat_c_div_scalar" 

external owl_stub_228_c_eigen_spmat_c_sum : _ CI.fatptr -> Complex.t
  = "owl_stub_228_c_eigen_spmat_c_sum" 

external owl_stub_229_c_eigen_spmat_c_neg : _ CI.fatptr -> CI.voidp
  = "owl_stub_229_c_eigen_spmat_c_neg" 

external owl_stub_230_c_eigen_spmat_c_sqrt : _ CI.fatptr -> CI.voidp
  = "owl_stub_230_c_eigen_spmat_c_sqrt" 

external owl_stub_231_c_eigen_spmat_c_print : _ CI.fatptr -> unit
  = "owl_stub_231_c_eigen_spmat_c_print" 

external owl_stub_232_c_eigen_spmat_z_new
  : int64 -> int64 -> int64 -> CI.voidp = "owl_stub_232_c_eigen_spmat_z_new" 

external owl_stub_233_c_eigen_spmat_z_delete : _ CI.fatptr -> unit
  = "owl_stub_233_c_eigen_spmat_z_delete" 

external owl_stub_234_c_eigen_spmat_z_eye : int64 -> CI.voidp
  = "owl_stub_234_c_eigen_spmat_z_eye" 

external owl_stub_235_c_eigen_spmat_z_rows : _ CI.fatptr -> int64
  = "owl_stub_235_c_eigen_spmat_z_rows" 

external owl_stub_236_c_eigen_spmat_z_cols : _ CI.fatptr -> int64
  = "owl_stub_236_c_eigen_spmat_z_cols" 

external owl_stub_237_c_eigen_spmat_z_nnz : _ CI.fatptr -> int64
  = "owl_stub_237_c_eigen_spmat_z_nnz" 

external owl_stub_238_c_eigen_spmat_z_get
  : _ CI.fatptr -> int64 -> int64 -> Complex.t
  = "owl_stub_238_c_eigen_spmat_z_get" 

external owl_stub_239_c_eigen_spmat_z_set
  : _ CI.fatptr -> int64 -> int64 -> Complex.t -> unit
  = "owl_stub_239_c_eigen_spmat_z_set" 

external owl_stub_240_c_eigen_spmat_z_insert
  : _ CI.fatptr -> int64 -> int64 -> Complex.t -> unit
  = "owl_stub_240_c_eigen_spmat_z_insert" 

external owl_stub_241_c_eigen_spmat_z_reset : _ CI.fatptr -> unit
  = "owl_stub_241_c_eigen_spmat_z_reset" 

external owl_stub_242_c_eigen_spmat_z_is_compressed : _ CI.fatptr -> int
  = "owl_stub_242_c_eigen_spmat_z_is_compressed" 

external owl_stub_243_c_eigen_spmat_z_compress : _ CI.fatptr -> unit
  = "owl_stub_243_c_eigen_spmat_z_compress" 

external owl_stub_244_c_eigen_spmat_z_uncompress : _ CI.fatptr -> unit
  = "owl_stub_244_c_eigen_spmat_z_uncompress" 

external owl_stub_245_c_eigen_spmat_z_reshape
  : _ CI.fatptr -> int64 -> int64 -> unit
  = "owl_stub_245_c_eigen_spmat_z_reshape" 

external owl_stub_246_c_eigen_spmat_z_prune
  : _ CI.fatptr -> Complex.t -> float -> unit
  = "owl_stub_246_c_eigen_spmat_z_prune" 

external owl_stub_247_c_eigen_spmat_z_valueptr
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_247_c_eigen_spmat_z_valueptr" 

external owl_stub_248_c_eigen_spmat_z_innerindexptr : _ CI.fatptr -> CI.voidp
  = "owl_stub_248_c_eigen_spmat_z_innerindexptr" 

external owl_stub_249_c_eigen_spmat_z_outerindexptr : _ CI.fatptr -> CI.voidp
  = "owl_stub_249_c_eigen_spmat_z_outerindexptr" 

external owl_stub_250_c_eigen_spmat_z_clone : _ CI.fatptr -> CI.voidp
  = "owl_stub_250_c_eigen_spmat_z_clone" 

external owl_stub_251_c_eigen_spmat_z_row : _ CI.fatptr -> int64 -> CI.voidp
  = "owl_stub_251_c_eigen_spmat_z_row" 

external owl_stub_252_c_eigen_spmat_z_col : _ CI.fatptr -> int64 -> CI.voidp
  = "owl_stub_252_c_eigen_spmat_z_col" 

external owl_stub_253_c_eigen_spmat_z_transpose : _ CI.fatptr -> CI.voidp
  = "owl_stub_253_c_eigen_spmat_z_transpose" 

external owl_stub_254_c_eigen_spmat_z_adjoint : _ CI.fatptr -> CI.voidp
  = "owl_stub_254_c_eigen_spmat_z_adjoint" 

external owl_stub_255_c_eigen_spmat_z_diagonal : _ CI.fatptr -> CI.voidp
  = "owl_stub_255_c_eigen_spmat_z_diagonal" 

external owl_stub_256_c_eigen_spmat_z_trace : _ CI.fatptr -> Complex.t
  = "owl_stub_256_c_eigen_spmat_z_trace" 

external owl_stub_257_c_eigen_spmat_z_is_zero : _ CI.fatptr -> int
  = "owl_stub_257_c_eigen_spmat_z_is_zero" 

external owl_stub_258_c_eigen_spmat_z_is_positive : _ CI.fatptr -> int
  = "owl_stub_258_c_eigen_spmat_z_is_positive" 

external owl_stub_259_c_eigen_spmat_z_is_negative : _ CI.fatptr -> int
  = "owl_stub_259_c_eigen_spmat_z_is_negative" 

external owl_stub_260_c_eigen_spmat_z_is_nonpositive : _ CI.fatptr -> int
  = "owl_stub_260_c_eigen_spmat_z_is_nonpositive" 

external owl_stub_261_c_eigen_spmat_z_is_nonnegative : _ CI.fatptr -> int
  = "owl_stub_261_c_eigen_spmat_z_is_nonnegative" 

external owl_stub_262_c_eigen_spmat_z_is_equal
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_262_c_eigen_spmat_z_is_equal" 

external owl_stub_263_c_eigen_spmat_z_is_unequal
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_263_c_eigen_spmat_z_is_unequal" 

external owl_stub_264_c_eigen_spmat_z_is_greater
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_264_c_eigen_spmat_z_is_greater" 

external owl_stub_265_c_eigen_spmat_z_is_smaller
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_265_c_eigen_spmat_z_is_smaller" 

external owl_stub_266_c_eigen_spmat_z_equal_or_greater
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_266_c_eigen_spmat_z_equal_or_greater" 

external owl_stub_267_c_eigen_spmat_z_equal_or_smaller
  : _ CI.fatptr -> _ CI.fatptr -> int
  = "owl_stub_267_c_eigen_spmat_z_equal_or_smaller" 

external owl_stub_268_c_eigen_spmat_z_add
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_268_c_eigen_spmat_z_add" 

external owl_stub_269_c_eigen_spmat_z_sub
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_269_c_eigen_spmat_z_sub" 

external owl_stub_270_c_eigen_spmat_z_mul
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_270_c_eigen_spmat_z_mul" 

external owl_stub_271_c_eigen_spmat_z_div
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_271_c_eigen_spmat_z_div" 

external owl_stub_272_c_eigen_spmat_z_gemm
  : _ CI.fatptr -> _ CI.fatptr -> CI.voidp
  = "owl_stub_272_c_eigen_spmat_z_gemm" 

external owl_stub_273_c_eigen_spmat_z_add_scalar
  : _ CI.fatptr -> Complex.t -> CI.voidp
  = "owl_stub_273_c_eigen_spmat_z_add_scalar" 

external owl_stub_274_c_eigen_spmat_z_sub_scalar
  : _ CI.fatptr -> Complex.t -> CI.voidp
  = "owl_stub_274_c_eigen_spmat_z_sub_scalar" 

external owl_stub_275_c_eigen_spmat_z_mul_scalar
  : _ CI.fatptr -> Complex.t -> CI.voidp
  = "owl_stub_275_c_eigen_spmat_z_mul_scalar" 

external owl_stub_276_c_eigen_spmat_z_div_scalar
  : _ CI.fatptr -> Complex.t -> CI.voidp
  = "owl_stub_276_c_eigen_spmat_z_div_scalar" 

external owl_stub_277_c_eigen_spmat_z_sum : _ CI.fatptr -> Complex.t
  = "owl_stub_277_c_eigen_spmat_z_sum" 

external owl_stub_278_c_eigen_spmat_z_neg : _ CI.fatptr -> CI.voidp
  = "owl_stub_278_c_eigen_spmat_z_neg" 

external owl_stub_279_c_eigen_spmat_z_sqrt : _ CI.fatptr -> CI.voidp
  = "owl_stub_279_c_eigen_spmat_z_sqrt" 

external owl_stub_280_c_eigen_spmat_z_print : _ CI.fatptr -> unit
  = "owl_stub_280_c_eigen_spmat_z_print" 

external owl_stub_281_c_eigen_tensor_s_test : _ CI.fatptr -> unit
  = "owl_stub_281_c_eigen_tensor_s_test" 

external owl_stub_282_c_eigen_tensor_s_spatial_conv
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    int -> unit
  =
  "owl_stub_282_c_eigen_tensor_s_spatial_conv_byte17" "owl_stub_282_c_eigen_tensor_s_spatial_conv"
  

external owl_stub_283_c_eigen_tensor_s_spatial_conv_backward_input
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    unit
  =
  "owl_stub_283_c_eigen_tensor_s_spatial_conv_backward_input_byte16" 
  "owl_stub_283_c_eigen_tensor_s_spatial_conv_backward_input" 

external owl_stub_284_c_eigen_tensor_s_spatial_conv_backward_kernel
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    unit
  =
  "owl_stub_284_c_eigen_tensor_s_spatial_conv_backward_kernel_byte16" 
  "owl_stub_284_c_eigen_tensor_s_spatial_conv_backward_kernel" 

external owl_stub_285_c_eigen_tensor_s_cuboid_conv
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    int -> int -> int -> unit
  =
  "owl_stub_285_c_eigen_tensor_s_cuboid_conv_byte19" "owl_stub_285_c_eigen_tensor_s_cuboid_conv"
  

external owl_stub_286_c_eigen_tensor_s_cuboid_conv_backward_input
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    int -> int -> unit
  =
  "owl_stub_286_c_eigen_tensor_s_cuboid_conv_backward_input_byte18" "owl_stub_286_c_eigen_tensor_s_cuboid_conv_backward_input"
  

external owl_stub_287_c_eigen_tensor_s_cuboid_conv_backward_kernel
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    int -> int -> unit
  =
  "owl_stub_287_c_eigen_tensor_s_cuboid_conv_backward_kernel_byte18" 
  "owl_stub_287_c_eigen_tensor_s_cuboid_conv_backward_kernel" 

external owl_stub_288_c_eigen_tensor_s_spatial_max_pooling
  : _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> unit
  =
  "owl_stub_288_c_eigen_tensor_s_spatial_max_pooling_byte15" "owl_stub_288_c_eigen_tensor_s_spatial_max_pooling"
  

external owl_stub_289_c_eigen_tensor_s_spatial_avg_pooling
  : _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> unit
  =
  "owl_stub_289_c_eigen_tensor_s_spatial_avg_pooling_byte15" "owl_stub_289_c_eigen_tensor_s_spatial_avg_pooling"
  

external owl_stub_290_c_eigen_tensor_s_cuboid_max_pooling
  : _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    unit
  =
  "owl_stub_290_c_eigen_tensor_s_cuboid_max_pooling_byte17" "owl_stub_290_c_eigen_tensor_s_cuboid_max_pooling"
  

external owl_stub_291_c_eigen_tensor_s_cuboid_avg_pooling
  : _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    unit
  =
  "owl_stub_291_c_eigen_tensor_s_cuboid_avg_pooling_byte17" "owl_stub_291_c_eigen_tensor_s_cuboid_avg_pooling"
  

external owl_stub_292_c_eigen_tensor_s_spatial_max_pooling_argmax
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> unit
  =
  "owl_stub_292_c_eigen_tensor_s_spatial_max_pooling_argmax_byte15" "owl_stub_292_c_eigen_tensor_s_spatial_max_pooling_argmax"
  

external owl_stub_293_c_eigen_tensor_s_spatial_max_pooling_backward
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> unit
  =
  "owl_stub_293_c_eigen_tensor_s_spatial_max_pooling_backward_byte15" 
  "owl_stub_293_c_eigen_tensor_s_spatial_max_pooling_backward" 

external owl_stub_294_c_eigen_tensor_s_spatial_avg_pooling_backward
  : _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> unit
  =
  "owl_stub_294_c_eigen_tensor_s_spatial_avg_pooling_backward_byte14" 
  "owl_stub_294_c_eigen_tensor_s_spatial_avg_pooling_backward" 

external owl_stub_295_c_eigen_tensor_d_test : _ CI.fatptr -> unit
  = "owl_stub_295_c_eigen_tensor_d_test" 

external owl_stub_296_c_eigen_tensor_d_spatial_conv
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    int -> unit
  =
  "owl_stub_296_c_eigen_tensor_d_spatial_conv_byte17" "owl_stub_296_c_eigen_tensor_d_spatial_conv"
  

external owl_stub_297_c_eigen_tensor_d_spatial_conv_backward_input
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    unit
  =
  "owl_stub_297_c_eigen_tensor_d_spatial_conv_backward_input_byte16" 
  "owl_stub_297_c_eigen_tensor_d_spatial_conv_backward_input" 

external owl_stub_298_c_eigen_tensor_d_spatial_conv_backward_kernel
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    unit
  =
  "owl_stub_298_c_eigen_tensor_d_spatial_conv_backward_kernel_byte16" 
  "owl_stub_298_c_eigen_tensor_d_spatial_conv_backward_kernel" 

external owl_stub_299_c_eigen_tensor_d_cuboid_conv
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    int -> int -> int -> unit
  =
  "owl_stub_299_c_eigen_tensor_d_cuboid_conv_byte19" "owl_stub_299_c_eigen_tensor_d_cuboid_conv"
  

external owl_stub_300_c_eigen_tensor_d_cuboid_conv_backward_input
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    int -> int -> unit
  =
  "owl_stub_300_c_eigen_tensor_d_cuboid_conv_backward_input_byte18" "owl_stub_300_c_eigen_tensor_d_cuboid_conv_backward_input"
  

external owl_stub_301_c_eigen_tensor_d_cuboid_conv_backward_kernel
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    int -> int -> unit
  =
  "owl_stub_301_c_eigen_tensor_d_cuboid_conv_backward_kernel_byte18" 
  "owl_stub_301_c_eigen_tensor_d_cuboid_conv_backward_kernel" 

external owl_stub_302_c_eigen_tensor_d_spatial_max_pooling
  : _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> unit
  =
  "owl_stub_302_c_eigen_tensor_d_spatial_max_pooling_byte15" "owl_stub_302_c_eigen_tensor_d_spatial_max_pooling"
  

external owl_stub_303_c_eigen_tensor_d_spatial_avg_pooling
  : _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> unit
  =
  "owl_stub_303_c_eigen_tensor_d_spatial_avg_pooling_byte15" "owl_stub_303_c_eigen_tensor_d_spatial_avg_pooling"
  

external owl_stub_304_c_eigen_tensor_d_cuboid_max_pooling
  : _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    unit
  =
  "owl_stub_304_c_eigen_tensor_d_cuboid_max_pooling_byte17" "owl_stub_304_c_eigen_tensor_d_cuboid_max_pooling"
  

external owl_stub_305_c_eigen_tensor_d_cuboid_avg_pooling
  : _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> int ->
    unit
  =
  "owl_stub_305_c_eigen_tensor_d_cuboid_avg_pooling_byte17" "owl_stub_305_c_eigen_tensor_d_cuboid_avg_pooling"
  

external owl_stub_306_c_eigen_tensor_d_spatial_max_pooling_argmax
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> unit
  =
  "owl_stub_306_c_eigen_tensor_d_spatial_max_pooling_argmax_byte15" "owl_stub_306_c_eigen_tensor_d_spatial_max_pooling_argmax"
  

external owl_stub_307_c_eigen_tensor_d_spatial_max_pooling_backward
  : _ CI.fatptr -> _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> int -> int -> unit
  =
  "owl_stub_307_c_eigen_tensor_d_spatial_max_pooling_backward_byte15" 
  "owl_stub_307_c_eigen_tensor_d_spatial_max_pooling_backward" 

external owl_stub_308_c_eigen_tensor_d_spatial_avg_pooling_backward
  : _ CI.fatptr -> _ CI.fatptr -> int -> int -> int -> int -> int -> 
    int -> int -> int -> int -> int -> int -> int -> unit
  =
  "owl_stub_308_c_eigen_tensor_d_spatial_avg_pooling_backward_byte14" 
  "owl_stub_308_c_eigen_tensor_d_spatial_avg_pooling_backward" 

type 'a result = 'a
type 'a return = 'a
type 'a fn =
 | Returns  : 'a CI.typ   -> 'a return fn
 | Function : 'a CI.typ * 'b fn  -> ('a -> 'b) fn
let map_result f x = f x
let returning t = Returns t
let (@->) f p = Function (f, p)
let foreign : type a b. string -> (a -> b) fn -> (a -> b) =
  fun name t -> match t, name with
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Returns CI.Void)))))))))))))),
  "c_eigen_tensor_d_spatial_avg_pooling_backward" ->
  (fun x1 x3 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 ->
    let CI.CPointer x4 = x3 in
    let CI.CPointer x2 = x1 in
    owl_stub_308_c_eigen_tensor_d_spatial_avg_pooling_backward x2 x4 x5 x6 x7
    x8 x9 x10 x11 x12 x13 x14 x15 x16)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Returns CI.Void))))))))))))))),
  "c_eigen_tensor_d_spatial_max_pooling_backward" ->
  (fun x17 x19 x21 x23 x24 x25 x26 x27 x28 x29 x30 x31 x32 x33 x34 ->
    let CI.CPointer x22 = x21 in
    let CI.CPointer x20 = x19 in
    let CI.CPointer x18 = x17 in
    owl_stub_307_c_eigen_tensor_d_spatial_max_pooling_backward x18 x20 x22
    x23 x24 x25 x26 x27 x28 x29 x30 x31 x32 x33 x34)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Returns CI.Void))))))))))))))),
  "c_eigen_tensor_d_spatial_max_pooling_argmax" ->
  (fun x35 x37 x39 x41 x42 x43 x44 x45 x46 x47 x48 x49 x50 x51 x52 ->
    let CI.CPointer x40 = x39 in
    let CI.CPointer x38 = x37 in
    let CI.CPointer x36 = x35 in
    owl_stub_306_c_eigen_tensor_d_spatial_max_pooling_argmax x36 x38 x40 x41
    x42 x43 x44 x45 x46 x47 x48 x49 x50 x51 x52)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Function
                                                    (CI.Primitive CI.Int,
                                                     Returns CI.Void))))))))))))))))),
  "c_eigen_tensor_d_cuboid_avg_pooling" ->
  (fun x53 x55 x57 x58 x59 x60 x61 x62 x63 x64 x65 x66 x67 x68 x69 x70 x71 ->
    let CI.CPointer x56 = x55 in
    let CI.CPointer x54 = x53 in
    owl_stub_305_c_eigen_tensor_d_cuboid_avg_pooling x54 x56 x57 x58 x59 x60
    x61 x62 x63 x64 x65 x66 x67 x68 x69 x70 x71)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Function
                                                    (CI.Primitive CI.Int,
                                                     Returns CI.Void))))))))))))))))),
  "c_eigen_tensor_d_cuboid_max_pooling" ->
  (fun x72 x74 x76 x77 x78 x79 x80 x81 x82 x83 x84 x85 x86 x87 x88 x89 x90 ->
    let CI.CPointer x75 = x74 in
    let CI.CPointer x73 = x72 in
    owl_stub_304_c_eigen_tensor_d_cuboid_max_pooling x73 x75 x76 x77 x78 x79
    x80 x81 x82 x83 x84 x85 x86 x87 x88 x89 x90)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Returns CI.Void))))))))))))))),
  "c_eigen_tensor_d_spatial_avg_pooling" ->
  (fun x91 x93 x95 x96 x97 x98 x99 x100 x101 x102 x103 x104 x105 x106 x107 ->
    let CI.CPointer x94 = x93 in
    let CI.CPointer x92 = x91 in
    owl_stub_303_c_eigen_tensor_d_spatial_avg_pooling x92 x94 x95 x96 x97 x98
    x99 x100 x101 x102 x103 x104 x105 x106 x107)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Returns CI.Void))))))))))))))),
  "c_eigen_tensor_d_spatial_max_pooling" ->
  (fun x108 x110 x112 x113 x114 x115 x116 x117 x118 x119 x120 x121 x122 x123
    x124 ->
    let CI.CPointer x111 = x110 in
    let CI.CPointer x109 = x108 in
    owl_stub_302_c_eigen_tensor_d_spatial_max_pooling x109 x111 x112 x113
    x114 x115 x116 x117 x118 x119 x120 x121 x122 x123 x124)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Function
                                                    (CI.Primitive CI.Int,
                                                     Function
                                                       (CI.Primitive CI.Int,
                                                        Returns CI.Void)))))))))))))))))),
  "c_eigen_tensor_d_cuboid_conv_backward_kernel" ->
  (fun x125 x127 x129 x131 x132 x133 x134 x135 x136 x137 x138 x139 x140 x141
    x142 x143 x144 x145 ->
    let CI.CPointer x130 = x129 in
    let CI.CPointer x128 = x127 in
    let CI.CPointer x126 = x125 in
    owl_stub_301_c_eigen_tensor_d_cuboid_conv_backward_kernel x126 x128 x130
    x131 x132 x133 x134 x135 x136 x137 x138 x139 x140 x141 x142 x143 x144
    x145)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Function
                                                    (CI.Primitive CI.Int,
                                                     Function
                                                       (CI.Primitive CI.Int,
                                                        Returns CI.Void)))))))))))))))))),
  "c_eigen_tensor_d_cuboid_conv_backward_input" ->
  (fun x146 x148 x150 x152 x153 x154 x155 x156 x157 x158 x159 x160 x161 x162
    x163 x164 x165 x166 ->
    let CI.CPointer x151 = x150 in
    let CI.CPointer x149 = x148 in
    let CI.CPointer x147 = x146 in
    owl_stub_300_c_eigen_tensor_d_cuboid_conv_backward_input x147 x149 x151
    x152 x153 x154 x155 x156 x157 x158 x159 x160 x161 x162 x163 x164 x165
    x166)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Function
                                                    (CI.Primitive CI.Int,
                                                     Function
                                                       (CI.Primitive CI.Int,
                                                        Function
                                                          (CI.Primitive
                                                             CI.Int,
                                                           Returns CI.Void))))))))))))))))))),
  "c_eigen_tensor_d_cuboid_conv" ->
  (fun x167 x169 x171 x173 x174 x175 x176 x177 x178 x179 x180 x181 x182 x183
    x184 x185 x186 x187 x188 ->
    let CI.CPointer x172 = x171 in
    let CI.CPointer x170 = x169 in
    let CI.CPointer x168 = x167 in
    owl_stub_299_c_eigen_tensor_d_cuboid_conv x168 x170 x172 x173 x174 x175
    x176 x177 x178 x179 x180 x181 x182 x183 x184 x185 x186 x187 x188)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Returns CI.Void)))))))))))))))),
  "c_eigen_tensor_d_spatial_conv_backward_kernel" ->
  (fun x189 x191 x193 x195 x196 x197 x198 x199 x200 x201 x202 x203 x204 x205
    x206 x207 ->
    let CI.CPointer x194 = x193 in
    let CI.CPointer x192 = x191 in
    let CI.CPointer x190 = x189 in
    owl_stub_298_c_eigen_tensor_d_spatial_conv_backward_kernel x190 x192 x194
    x195 x196 x197 x198 x199 x200 x201 x202 x203 x204 x205 x206 x207)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Returns CI.Void)))))))))))))))),
  "c_eigen_tensor_d_spatial_conv_backward_input" ->
  (fun x208 x210 x212 x214 x215 x216 x217 x218 x219 x220 x221 x222 x223 x224
    x225 x226 ->
    let CI.CPointer x213 = x212 in
    let CI.CPointer x211 = x210 in
    let CI.CPointer x209 = x208 in
    owl_stub_297_c_eigen_tensor_d_spatial_conv_backward_input x209 x211 x213
    x214 x215 x216 x217 x218 x219 x220 x221 x222 x223 x224 x225 x226)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Function
                                                    (CI.Primitive CI.Int,
                                                     Returns CI.Void))))))))))))))))),
  "c_eigen_tensor_d_spatial_conv" ->
  (fun x227 x229 x231 x233 x234 x235 x236 x237 x238 x239 x240 x241 x242 x243
    x244 x245 x246 ->
    let CI.CPointer x232 = x231 in
    let CI.CPointer x230 = x229 in
    let CI.CPointer x228 = x227 in
    owl_stub_296_c_eigen_tensor_d_spatial_conv x228 x230 x232 x233 x234 x235
    x236 x237 x238 x239 x240 x241 x242 x243 x244 x245 x246)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_tensor_d_test" ->
  (fun x247 ->
    let CI.CPointer x248 = x247 in owl_stub_295_c_eigen_tensor_d_test x248)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Returns CI.Void)))))))))))))),
  "c_eigen_tensor_s_spatial_avg_pooling_backward" ->
  (fun x249 x251 x253 x254 x255 x256 x257 x258 x259 x260 x261 x262 x263 x264
    ->
    let CI.CPointer x252 = x251 in
    let CI.CPointer x250 = x249 in
    owl_stub_294_c_eigen_tensor_s_spatial_avg_pooling_backward x250 x252 x253
    x254 x255 x256 x257 x258 x259 x260 x261 x262 x263 x264)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Returns CI.Void))))))))))))))),
  "c_eigen_tensor_s_spatial_max_pooling_backward" ->
  (fun x265 x267 x269 x271 x272 x273 x274 x275 x276 x277 x278 x279 x280 x281
    x282 ->
    let CI.CPointer x270 = x269 in
    let CI.CPointer x268 = x267 in
    let CI.CPointer x266 = x265 in
    owl_stub_293_c_eigen_tensor_s_spatial_max_pooling_backward x266 x268 x270
    x271 x272 x273 x274 x275 x276 x277 x278 x279 x280 x281 x282)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Returns CI.Void))))))))))))))),
  "c_eigen_tensor_s_spatial_max_pooling_argmax" ->
  (fun x283 x285 x287 x289 x290 x291 x292 x293 x294 x295 x296 x297 x298 x299
    x300 ->
    let CI.CPointer x288 = x287 in
    let CI.CPointer x286 = x285 in
    let CI.CPointer x284 = x283 in
    owl_stub_292_c_eigen_tensor_s_spatial_max_pooling_argmax x284 x286 x288
    x289 x290 x291 x292 x293 x294 x295 x296 x297 x298 x299 x300)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Function
                                                    (CI.Primitive CI.Int,
                                                     Returns CI.Void))))))))))))))))),
  "c_eigen_tensor_s_cuboid_avg_pooling" ->
  (fun x301 x303 x305 x306 x307 x308 x309 x310 x311 x312 x313 x314 x315 x316
    x317 x318 x319 ->
    let CI.CPointer x304 = x303 in
    let CI.CPointer x302 = x301 in
    owl_stub_291_c_eigen_tensor_s_cuboid_avg_pooling x302 x304 x305 x306 x307
    x308 x309 x310 x311 x312 x313 x314 x315 x316 x317 x318 x319)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Function
                                                    (CI.Primitive CI.Int,
                                                     Returns CI.Void))))))))))))))))),
  "c_eigen_tensor_s_cuboid_max_pooling" ->
  (fun x320 x322 x324 x325 x326 x327 x328 x329 x330 x331 x332 x333 x334 x335
    x336 x337 x338 ->
    let CI.CPointer x323 = x322 in
    let CI.CPointer x321 = x320 in
    owl_stub_290_c_eigen_tensor_s_cuboid_max_pooling x321 x323 x324 x325 x326
    x327 x328 x329 x330 x331 x332 x333 x334 x335 x336 x337 x338)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Returns CI.Void))))))))))))))),
  "c_eigen_tensor_s_spatial_avg_pooling" ->
  (fun x339 x341 x343 x344 x345 x346 x347 x348 x349 x350 x351 x352 x353 x354
    x355 ->
    let CI.CPointer x342 = x341 in
    let CI.CPointer x340 = x339 in
    owl_stub_289_c_eigen_tensor_s_spatial_avg_pooling x340 x342 x343 x344
    x345 x346 x347 x348 x349 x350 x351 x352 x353 x354 x355)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Returns CI.Void))))))))))))))),
  "c_eigen_tensor_s_spatial_max_pooling" ->
  (fun x356 x358 x360 x361 x362 x363 x364 x365 x366 x367 x368 x369 x370 x371
    x372 ->
    let CI.CPointer x359 = x358 in
    let CI.CPointer x357 = x356 in
    owl_stub_288_c_eigen_tensor_s_spatial_max_pooling x357 x359 x360 x361
    x362 x363 x364 x365 x366 x367 x368 x369 x370 x371 x372)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Function
                                                    (CI.Primitive CI.Int,
                                                     Function
                                                       (CI.Primitive CI.Int,
                                                        Returns CI.Void)))))))))))))))))),
  "c_eigen_tensor_s_cuboid_conv_backward_kernel" ->
  (fun x373 x375 x377 x379 x380 x381 x382 x383 x384 x385 x386 x387 x388 x389
    x390 x391 x392 x393 ->
    let CI.CPointer x378 = x377 in
    let CI.CPointer x376 = x375 in
    let CI.CPointer x374 = x373 in
    owl_stub_287_c_eigen_tensor_s_cuboid_conv_backward_kernel x374 x376 x378
    x379 x380 x381 x382 x383 x384 x385 x386 x387 x388 x389 x390 x391 x392
    x393)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Function
                                                    (CI.Primitive CI.Int,
                                                     Function
                                                       (CI.Primitive CI.Int,
                                                        Returns CI.Void)))))))))))))))))),
  "c_eigen_tensor_s_cuboid_conv_backward_input" ->
  (fun x394 x396 x398 x400 x401 x402 x403 x404 x405 x406 x407 x408 x409 x410
    x411 x412 x413 x414 ->
    let CI.CPointer x399 = x398 in
    let CI.CPointer x397 = x396 in
    let CI.CPointer x395 = x394 in
    owl_stub_286_c_eigen_tensor_s_cuboid_conv_backward_input x395 x397 x399
    x400 x401 x402 x403 x404 x405 x406 x407 x408 x409 x410 x411 x412 x413
    x414)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Function
                                                    (CI.Primitive CI.Int,
                                                     Function
                                                       (CI.Primitive CI.Int,
                                                        Function
                                                          (CI.Primitive
                                                             CI.Int,
                                                           Returns CI.Void))))))))))))))))))),
  "c_eigen_tensor_s_cuboid_conv" ->
  (fun x415 x417 x419 x421 x422 x423 x424 x425 x426 x427 x428 x429 x430 x431
    x432 x433 x434 x435 x436 ->
    let CI.CPointer x420 = x419 in
    let CI.CPointer x418 = x417 in
    let CI.CPointer x416 = x415 in
    owl_stub_285_c_eigen_tensor_s_cuboid_conv x416 x418 x420 x421 x422 x423
    x424 x425 x426 x427 x428 x429 x430 x431 x432 x433 x434 x435 x436)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Returns CI.Void)))))))))))))))),
  "c_eigen_tensor_s_spatial_conv_backward_kernel" ->
  (fun x437 x439 x441 x443 x444 x445 x446 x447 x448 x449 x450 x451 x452 x453
    x454 x455 ->
    let CI.CPointer x442 = x441 in
    let CI.CPointer x440 = x439 in
    let CI.CPointer x438 = x437 in
    owl_stub_284_c_eigen_tensor_s_spatial_conv_backward_kernel x438 x440 x442
    x443 x444 x445 x446 x447 x448 x449 x450 x451 x452 x453 x454 x455)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Returns CI.Void)))))))))))))))),
  "c_eigen_tensor_s_spatial_conv_backward_input" ->
  (fun x456 x458 x460 x462 x463 x464 x465 x466 x467 x468 x469 x470 x471 x472
    x473 x474 ->
    let CI.CPointer x461 = x460 in
    let CI.CPointer x459 = x458 in
    let CI.CPointer x457 = x456 in
    owl_stub_283_c_eigen_tensor_s_spatial_conv_backward_input x457 x459 x461
    x462 x463 x464 x465 x466 x467 x468 x469 x470 x471 x472 x473 x474)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Pointer _,
           Function
             (CI.Primitive CI.Int,
              Function
                (CI.Primitive CI.Int,
                 Function
                   (CI.Primitive CI.Int,
                    Function
                      (CI.Primitive CI.Int,
                       Function
                         (CI.Primitive CI.Int,
                          Function
                            (CI.Primitive CI.Int,
                             Function
                               (CI.Primitive CI.Int,
                                Function
                                  (CI.Primitive CI.Int,
                                   Function
                                     (CI.Primitive CI.Int,
                                      Function
                                        (CI.Primitive CI.Int,
                                         Function
                                           (CI.Primitive CI.Int,
                                            Function
                                              (CI.Primitive CI.Int,
                                               Function
                                                 (CI.Primitive CI.Int,
                                                  Function
                                                    (CI.Primitive CI.Int,
                                                     Returns CI.Void))))))))))))))))),
  "c_eigen_tensor_s_spatial_conv" ->
  (fun x475 x477 x479 x481 x482 x483 x484 x485 x486 x487 x488 x489 x490 x491
    x492 x493 x494 ->
    let CI.CPointer x480 = x479 in
    let CI.CPointer x478 = x477 in
    let CI.CPointer x476 = x475 in
    owl_stub_282_c_eigen_tensor_s_spatial_conv x476 x478 x480 x481 x482 x483
    x484 x485 x486 x487 x488 x489 x490 x491 x492 x493 x494)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_tensor_s_test" ->
  (fun x495 ->
    let CI.CPointer x496 = x495 in owl_stub_281_c_eigen_tensor_s_test x496)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_z_print" ->
  (fun x497 ->
    let CI.CPointer x498 = x497 in owl_stub_280_c_eigen_spmat_z_print x498)
| Function (CI.Pointer _, Returns (CI.Pointer x501)), "c_eigen_spmat_z_sqrt" ->
  (fun x499 ->
    let CI.CPointer x500 = x499 in
    CI.make_ptr x501 (owl_stub_279_c_eigen_spmat_z_sqrt x500))
| Function (CI.Pointer _, Returns (CI.Pointer x504)), "c_eigen_spmat_z_neg" ->
  (fun x502 ->
    let CI.CPointer x503 = x502 in
    CI.make_ptr x504 (owl_stub_278_c_eigen_spmat_z_neg x503))
| Function (CI.Pointer _, Returns (CI.Primitive CI.Complex64)),
  "c_eigen_spmat_z_sum" ->
  (fun x505 ->
    let CI.CPointer x506 = x505 in owl_stub_277_c_eigen_spmat_z_sum x506)
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Complex64, Returns (CI.Pointer x510))),
  "c_eigen_spmat_z_div_scalar" ->
  (fun x507 x509 ->
    let CI.CPointer x508 = x507 in
    CI.make_ptr x510 (owl_stub_276_c_eigen_spmat_z_div_scalar x508 x509))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Complex64, Returns (CI.Pointer x514))),
  "c_eigen_spmat_z_mul_scalar" ->
  (fun x511 x513 ->
    let CI.CPointer x512 = x511 in
    CI.make_ptr x514 (owl_stub_275_c_eigen_spmat_z_mul_scalar x512 x513))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Complex64, Returns (CI.Pointer x518))),
  "c_eigen_spmat_z_sub_scalar" ->
  (fun x515 x517 ->
    let CI.CPointer x516 = x515 in
    CI.make_ptr x518 (owl_stub_274_c_eigen_spmat_z_sub_scalar x516 x517))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Complex64, Returns (CI.Pointer x522))),
  "c_eigen_spmat_z_add_scalar" ->
  (fun x519 x521 ->
    let CI.CPointer x520 = x519 in
    CI.make_ptr x522 (owl_stub_273_c_eigen_spmat_z_add_scalar x520 x521))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x527))),
  "c_eigen_spmat_z_gemm" ->
  (fun x523 x525 ->
    let CI.CPointer x526 = x525 in
    let CI.CPointer x524 = x523 in
    CI.make_ptr x527 (owl_stub_272_c_eigen_spmat_z_gemm x524 x526))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x532))),
  "c_eigen_spmat_z_div" ->
  (fun x528 x530 ->
    let CI.CPointer x531 = x530 in
    let CI.CPointer x529 = x528 in
    CI.make_ptr x532 (owl_stub_271_c_eigen_spmat_z_div x529 x531))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x537))),
  "c_eigen_spmat_z_mul" ->
  (fun x533 x535 ->
    let CI.CPointer x536 = x535 in
    let CI.CPointer x534 = x533 in
    CI.make_ptr x537 (owl_stub_270_c_eigen_spmat_z_mul x534 x536))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x542))),
  "c_eigen_spmat_z_sub" ->
  (fun x538 x540 ->
    let CI.CPointer x541 = x540 in
    let CI.CPointer x539 = x538 in
    CI.make_ptr x542 (owl_stub_269_c_eigen_spmat_z_sub x539 x541))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x547))),
  "c_eigen_spmat_z_add" ->
  (fun x543 x545 ->
    let CI.CPointer x546 = x545 in
    let CI.CPointer x544 = x543 in
    CI.make_ptr x547 (owl_stub_268_c_eigen_spmat_z_add x544 x546))
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_z_equal_or_smaller" ->
  (fun x548 x550 ->
    let CI.CPointer x551 = x550 in
    let CI.CPointer x549 = x548 in
    owl_stub_267_c_eigen_spmat_z_equal_or_smaller x549 x551)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_z_equal_or_greater" ->
  (fun x552 x554 ->
    let CI.CPointer x555 = x554 in
    let CI.CPointer x553 = x552 in
    owl_stub_266_c_eigen_spmat_z_equal_or_greater x553 x555)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_z_is_smaller" ->
  (fun x556 x558 ->
    let CI.CPointer x559 = x558 in
    let CI.CPointer x557 = x556 in
    owl_stub_265_c_eigen_spmat_z_is_smaller x557 x559)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_z_is_greater" ->
  (fun x560 x562 ->
    let CI.CPointer x563 = x562 in
    let CI.CPointer x561 = x560 in
    owl_stub_264_c_eigen_spmat_z_is_greater x561 x563)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_z_is_unequal" ->
  (fun x564 x566 ->
    let CI.CPointer x567 = x566 in
    let CI.CPointer x565 = x564 in
    owl_stub_263_c_eigen_spmat_z_is_unequal x565 x567)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_z_is_equal" ->
  (fun x568 x570 ->
    let CI.CPointer x571 = x570 in
    let CI.CPointer x569 = x568 in
    owl_stub_262_c_eigen_spmat_z_is_equal x569 x571)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_z_is_nonnegative" ->
  (fun x572 ->
    let CI.CPointer x573 = x572 in
    owl_stub_261_c_eigen_spmat_z_is_nonnegative x573)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_z_is_nonpositive" ->
  (fun x574 ->
    let CI.CPointer x575 = x574 in
    owl_stub_260_c_eigen_spmat_z_is_nonpositive x575)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_z_is_negative" ->
  (fun x576 ->
    let CI.CPointer x577 = x576 in
    owl_stub_259_c_eigen_spmat_z_is_negative x577)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_z_is_positive" ->
  (fun x578 ->
    let CI.CPointer x579 = x578 in
    owl_stub_258_c_eigen_spmat_z_is_positive x579)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_z_is_zero" ->
  (fun x580 ->
    let CI.CPointer x581 = x580 in owl_stub_257_c_eigen_spmat_z_is_zero x581)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Complex64)),
  "c_eigen_spmat_z_trace" ->
  (fun x582 ->
    let CI.CPointer x583 = x582 in owl_stub_256_c_eigen_spmat_z_trace x583)
| Function (CI.Pointer _, Returns (CI.Pointer x586)),
  "c_eigen_spmat_z_diagonal" ->
  (fun x584 ->
    let CI.CPointer x585 = x584 in
    CI.make_ptr x586 (owl_stub_255_c_eigen_spmat_z_diagonal x585))
| Function (CI.Pointer _, Returns (CI.Pointer x589)),
  "c_eigen_spmat_z_adjoint" ->
  (fun x587 ->
    let CI.CPointer x588 = x587 in
    CI.make_ptr x589 (owl_stub_254_c_eigen_spmat_z_adjoint x588))
| Function (CI.Pointer _, Returns (CI.Pointer x592)),
  "c_eigen_spmat_z_transpose" ->
  (fun x590 ->
    let CI.CPointer x591 = x590 in
    CI.make_ptr x592 (owl_stub_253_c_eigen_spmat_z_transpose x591))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x596))),
  "c_eigen_spmat_z_col" ->
  (fun x593 x595 ->
    let CI.CPointer x594 = x593 in
    CI.make_ptr x596 (owl_stub_252_c_eigen_spmat_z_col x594 x595))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x600))),
  "c_eigen_spmat_z_row" ->
  (fun x597 x599 ->
    let CI.CPointer x598 = x597 in
    CI.make_ptr x600 (owl_stub_251_c_eigen_spmat_z_row x598 x599))
| Function (CI.Pointer _, Returns (CI.Pointer x603)), "c_eigen_spmat_z_clone" ->
  (fun x601 ->
    let CI.CPointer x602 = x601 in
    CI.make_ptr x603 (owl_stub_250_c_eigen_spmat_z_clone x602))
| Function (CI.Pointer _, Returns (CI.Pointer x606)),
  "c_eigen_spmat_z_outerindexptr" ->
  (fun x604 ->
    let CI.CPointer x605 = x604 in
    CI.make_ptr x606 (owl_stub_249_c_eigen_spmat_z_outerindexptr x605))
| Function (CI.Pointer _, Returns (CI.Pointer x609)),
  "c_eigen_spmat_z_innerindexptr" ->
  (fun x607 ->
    let CI.CPointer x608 = x607 in
    CI.make_ptr x609 (owl_stub_248_c_eigen_spmat_z_innerindexptr x608))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x614))),
  "c_eigen_spmat_z_valueptr" ->
  (fun x610 x612 ->
    let CI.CPointer x613 = x612 in
    let CI.CPointer x611 = x610 in
    CI.make_ptr x614 (owl_stub_247_c_eigen_spmat_z_valueptr x611 x613))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Complex64,
        Function (CI.Primitive CI.Double, Returns CI.Void))),
  "c_eigen_spmat_z_prune" ->
  (fun x615 x617 x618 ->
    let CI.CPointer x616 = x615 in
    owl_stub_246_c_eigen_spmat_z_prune x616 x617 x618)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns CI.Void))),
  "c_eigen_spmat_z_reshape" ->
  (fun x619 x621 x622 ->
    let CI.CPointer x620 = x619 in
    owl_stub_245_c_eigen_spmat_z_reshape x620 x621 x622)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_z_uncompress" ->
  (fun x623 ->
    let CI.CPointer x624 = x623 in
    owl_stub_244_c_eigen_spmat_z_uncompress x624)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_z_compress" ->
  (fun x625 ->
    let CI.CPointer x626 = x625 in owl_stub_243_c_eigen_spmat_z_compress x626)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_z_is_compressed" ->
  (fun x627 ->
    let CI.CPointer x628 = x627 in
    owl_stub_242_c_eigen_spmat_z_is_compressed x628)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_z_reset" ->
  (fun x629 ->
    let CI.CPointer x630 = x629 in owl_stub_241_c_eigen_spmat_z_reset x630)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Complex64, Returns CI.Void)))),
  "c_eigen_spmat_z_insert" ->
  (fun x631 x633 x634 x635 ->
    let CI.CPointer x632 = x631 in
    owl_stub_240_c_eigen_spmat_z_insert x632 x633 x634 x635)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Complex64, Returns CI.Void)))),
  "c_eigen_spmat_z_set" ->
  (fun x636 x638 x639 x640 ->
    let CI.CPointer x637 = x636 in
    owl_stub_239_c_eigen_spmat_z_set x637 x638 x639 x640)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t, Returns (CI.Primitive CI.Complex64)))),
  "c_eigen_spmat_z_get" ->
  (fun x641 x643 x644 ->
    let CI.CPointer x642 = x641 in
    owl_stub_238_c_eigen_spmat_z_get x642 x643 x644)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_spmat_z_nnz" ->
  (fun x645 ->
    let CI.CPointer x646 = x645 in owl_stub_237_c_eigen_spmat_z_nnz x646)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_spmat_z_cols" ->
  (fun x647 ->
    let CI.CPointer x648 = x647 in owl_stub_236_c_eigen_spmat_z_cols x648)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_spmat_z_rows" ->
  (fun x649 ->
    let CI.CPointer x650 = x649 in owl_stub_235_c_eigen_spmat_z_rows x650)
| Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x652)),
  "c_eigen_spmat_z_eye" ->
  (fun x651 -> CI.make_ptr x652 (owl_stub_234_c_eigen_spmat_z_eye x651))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_z_delete" ->
  (fun x653 ->
    let CI.CPointer x654 = x653 in owl_stub_233_c_eigen_spmat_z_delete x654)
| Function
    (CI.Primitive CI.Int64_t,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x658)))),
  "c_eigen_spmat_z_new" ->
  (fun x655 x656 x657 ->
    CI.make_ptr x658 (owl_stub_232_c_eigen_spmat_z_new x655 x656 x657))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_c_print" ->
  (fun x659 ->
    let CI.CPointer x660 = x659 in owl_stub_231_c_eigen_spmat_c_print x660)
| Function (CI.Pointer _, Returns (CI.Pointer x663)), "c_eigen_spmat_c_sqrt" ->
  (fun x661 ->
    let CI.CPointer x662 = x661 in
    CI.make_ptr x663 (owl_stub_230_c_eigen_spmat_c_sqrt x662))
| Function (CI.Pointer _, Returns (CI.Pointer x666)), "c_eigen_spmat_c_neg" ->
  (fun x664 ->
    let CI.CPointer x665 = x664 in
    CI.make_ptr x666 (owl_stub_229_c_eigen_spmat_c_neg x665))
| Function (CI.Pointer _, Returns (CI.Primitive CI.Complex32)),
  "c_eigen_spmat_c_sum" ->
  (fun x667 ->
    let CI.CPointer x668 = x667 in owl_stub_228_c_eigen_spmat_c_sum x668)
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Complex32, Returns (CI.Pointer x672))),
  "c_eigen_spmat_c_div_scalar" ->
  (fun x669 x671 ->
    let CI.CPointer x670 = x669 in
    CI.make_ptr x672 (owl_stub_227_c_eigen_spmat_c_div_scalar x670 x671))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Complex32, Returns (CI.Pointer x676))),
  "c_eigen_spmat_c_mul_scalar" ->
  (fun x673 x675 ->
    let CI.CPointer x674 = x673 in
    CI.make_ptr x676 (owl_stub_226_c_eigen_spmat_c_mul_scalar x674 x675))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Complex32, Returns (CI.Pointer x680))),
  "c_eigen_spmat_c_sub_scalar" ->
  (fun x677 x679 ->
    let CI.CPointer x678 = x677 in
    CI.make_ptr x680 (owl_stub_225_c_eigen_spmat_c_sub_scalar x678 x679))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Complex32, Returns (CI.Pointer x684))),
  "c_eigen_spmat_c_add_scalar" ->
  (fun x681 x683 ->
    let CI.CPointer x682 = x681 in
    CI.make_ptr x684 (owl_stub_224_c_eigen_spmat_c_add_scalar x682 x683))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x689))),
  "c_eigen_spmat_c_gemm" ->
  (fun x685 x687 ->
    let CI.CPointer x688 = x687 in
    let CI.CPointer x686 = x685 in
    CI.make_ptr x689 (owl_stub_223_c_eigen_spmat_c_gemm x686 x688))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x694))),
  "c_eigen_spmat_c_div" ->
  (fun x690 x692 ->
    let CI.CPointer x693 = x692 in
    let CI.CPointer x691 = x690 in
    CI.make_ptr x694 (owl_stub_222_c_eigen_spmat_c_div x691 x693))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x699))),
  "c_eigen_spmat_c_mul" ->
  (fun x695 x697 ->
    let CI.CPointer x698 = x697 in
    let CI.CPointer x696 = x695 in
    CI.make_ptr x699 (owl_stub_221_c_eigen_spmat_c_mul x696 x698))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x704))),
  "c_eigen_spmat_c_sub" ->
  (fun x700 x702 ->
    let CI.CPointer x703 = x702 in
    let CI.CPointer x701 = x700 in
    CI.make_ptr x704 (owl_stub_220_c_eigen_spmat_c_sub x701 x703))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x709))),
  "c_eigen_spmat_c_add" ->
  (fun x705 x707 ->
    let CI.CPointer x708 = x707 in
    let CI.CPointer x706 = x705 in
    CI.make_ptr x709 (owl_stub_219_c_eigen_spmat_c_add x706 x708))
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_c_equal_or_smaller" ->
  (fun x710 x712 ->
    let CI.CPointer x713 = x712 in
    let CI.CPointer x711 = x710 in
    owl_stub_218_c_eigen_spmat_c_equal_or_smaller x711 x713)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_c_equal_or_greater" ->
  (fun x714 x716 ->
    let CI.CPointer x717 = x716 in
    let CI.CPointer x715 = x714 in
    owl_stub_217_c_eigen_spmat_c_equal_or_greater x715 x717)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_c_is_smaller" ->
  (fun x718 x720 ->
    let CI.CPointer x721 = x720 in
    let CI.CPointer x719 = x718 in
    owl_stub_216_c_eigen_spmat_c_is_smaller x719 x721)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_c_is_greater" ->
  (fun x722 x724 ->
    let CI.CPointer x725 = x724 in
    let CI.CPointer x723 = x722 in
    owl_stub_215_c_eigen_spmat_c_is_greater x723 x725)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_c_is_unequal" ->
  (fun x726 x728 ->
    let CI.CPointer x729 = x728 in
    let CI.CPointer x727 = x726 in
    owl_stub_214_c_eigen_spmat_c_is_unequal x727 x729)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_c_is_equal" ->
  (fun x730 x732 ->
    let CI.CPointer x733 = x732 in
    let CI.CPointer x731 = x730 in
    owl_stub_213_c_eigen_spmat_c_is_equal x731 x733)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_c_is_nonnegative" ->
  (fun x734 ->
    let CI.CPointer x735 = x734 in
    owl_stub_212_c_eigen_spmat_c_is_nonnegative x735)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_c_is_nonpositive" ->
  (fun x736 ->
    let CI.CPointer x737 = x736 in
    owl_stub_211_c_eigen_spmat_c_is_nonpositive x737)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_c_is_negative" ->
  (fun x738 ->
    let CI.CPointer x739 = x738 in
    owl_stub_210_c_eigen_spmat_c_is_negative x739)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_c_is_positive" ->
  (fun x740 ->
    let CI.CPointer x741 = x740 in
    owl_stub_209_c_eigen_spmat_c_is_positive x741)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_c_is_zero" ->
  (fun x742 ->
    let CI.CPointer x743 = x742 in owl_stub_208_c_eigen_spmat_c_is_zero x743)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Complex32)),
  "c_eigen_spmat_c_trace" ->
  (fun x744 ->
    let CI.CPointer x745 = x744 in owl_stub_207_c_eigen_spmat_c_trace x745)
| Function (CI.Pointer _, Returns (CI.Pointer x748)),
  "c_eigen_spmat_c_diagonal" ->
  (fun x746 ->
    let CI.CPointer x747 = x746 in
    CI.make_ptr x748 (owl_stub_206_c_eigen_spmat_c_diagonal x747))
| Function (CI.Pointer _, Returns (CI.Pointer x751)),
  "c_eigen_spmat_c_adjoint" ->
  (fun x749 ->
    let CI.CPointer x750 = x749 in
    CI.make_ptr x751 (owl_stub_205_c_eigen_spmat_c_adjoint x750))
| Function (CI.Pointer _, Returns (CI.Pointer x754)),
  "c_eigen_spmat_c_transpose" ->
  (fun x752 ->
    let CI.CPointer x753 = x752 in
    CI.make_ptr x754 (owl_stub_204_c_eigen_spmat_c_transpose x753))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x758))),
  "c_eigen_spmat_c_col" ->
  (fun x755 x757 ->
    let CI.CPointer x756 = x755 in
    CI.make_ptr x758 (owl_stub_203_c_eigen_spmat_c_col x756 x757))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x762))),
  "c_eigen_spmat_c_row" ->
  (fun x759 x761 ->
    let CI.CPointer x760 = x759 in
    CI.make_ptr x762 (owl_stub_202_c_eigen_spmat_c_row x760 x761))
| Function (CI.Pointer _, Returns (CI.Pointer x765)), "c_eigen_spmat_c_clone" ->
  (fun x763 ->
    let CI.CPointer x764 = x763 in
    CI.make_ptr x765 (owl_stub_201_c_eigen_spmat_c_clone x764))
| Function (CI.Pointer _, Returns (CI.Pointer x768)),
  "c_eigen_spmat_c_outerindexptr" ->
  (fun x766 ->
    let CI.CPointer x767 = x766 in
    CI.make_ptr x768 (owl_stub_200_c_eigen_spmat_c_outerindexptr x767))
| Function (CI.Pointer _, Returns (CI.Pointer x771)),
  "c_eigen_spmat_c_innerindexptr" ->
  (fun x769 ->
    let CI.CPointer x770 = x769 in
    CI.make_ptr x771 (owl_stub_199_c_eigen_spmat_c_innerindexptr x770))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x776))),
  "c_eigen_spmat_c_valueptr" ->
  (fun x772 x774 ->
    let CI.CPointer x775 = x774 in
    let CI.CPointer x773 = x772 in
    CI.make_ptr x776 (owl_stub_198_c_eigen_spmat_c_valueptr x773 x775))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Complex32,
        Function (CI.Primitive CI.Float, Returns CI.Void))),
  "c_eigen_spmat_c_prune" ->
  (fun x777 x779 x780 ->
    let CI.CPointer x778 = x777 in
    owl_stub_197_c_eigen_spmat_c_prune x778 x779 x780)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns CI.Void))),
  "c_eigen_spmat_c_reshape" ->
  (fun x781 x783 x784 ->
    let CI.CPointer x782 = x781 in
    owl_stub_196_c_eigen_spmat_c_reshape x782 x783 x784)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_c_uncompress" ->
  (fun x785 ->
    let CI.CPointer x786 = x785 in
    owl_stub_195_c_eigen_spmat_c_uncompress x786)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_c_compress" ->
  (fun x787 ->
    let CI.CPointer x788 = x787 in owl_stub_194_c_eigen_spmat_c_compress x788)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_c_is_compressed" ->
  (fun x789 ->
    let CI.CPointer x790 = x789 in
    owl_stub_193_c_eigen_spmat_c_is_compressed x790)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_c_reset" ->
  (fun x791 ->
    let CI.CPointer x792 = x791 in owl_stub_192_c_eigen_spmat_c_reset x792)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Complex32, Returns CI.Void)))),
  "c_eigen_spmat_c_insert" ->
  (fun x793 x795 x796 x797 ->
    let CI.CPointer x794 = x793 in
    owl_stub_191_c_eigen_spmat_c_insert x794 x795 x796 x797)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Complex32, Returns CI.Void)))),
  "c_eigen_spmat_c_set" ->
  (fun x798 x800 x801 x802 ->
    let CI.CPointer x799 = x798 in
    owl_stub_190_c_eigen_spmat_c_set x799 x800 x801 x802)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t, Returns (CI.Primitive CI.Complex32)))),
  "c_eigen_spmat_c_get" ->
  (fun x803 x805 x806 ->
    let CI.CPointer x804 = x803 in
    owl_stub_189_c_eigen_spmat_c_get x804 x805 x806)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_spmat_c_nnz" ->
  (fun x807 ->
    let CI.CPointer x808 = x807 in owl_stub_188_c_eigen_spmat_c_nnz x808)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_spmat_c_cols" ->
  (fun x809 ->
    let CI.CPointer x810 = x809 in owl_stub_187_c_eigen_spmat_c_cols x810)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_spmat_c_rows" ->
  (fun x811 ->
    let CI.CPointer x812 = x811 in owl_stub_186_c_eigen_spmat_c_rows x812)
| Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x814)),
  "c_eigen_spmat_c_eye" ->
  (fun x813 -> CI.make_ptr x814 (owl_stub_185_c_eigen_spmat_c_eye x813))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_c_delete" ->
  (fun x815 ->
    let CI.CPointer x816 = x815 in owl_stub_184_c_eigen_spmat_c_delete x816)
| Function
    (CI.Primitive CI.Int64_t,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x820)))),
  "c_eigen_spmat_c_new" ->
  (fun x817 x818 x819 ->
    CI.make_ptr x820 (owl_stub_183_c_eigen_spmat_c_new x817 x818 x819))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_d_print" ->
  (fun x821 ->
    let CI.CPointer x822 = x821 in owl_stub_182_c_eigen_spmat_d_print x822)
| Function (CI.Pointer _, Returns (CI.Pointer x825)), "c_eigen_spmat_d_sqrt" ->
  (fun x823 ->
    let CI.CPointer x824 = x823 in
    CI.make_ptr x825 (owl_stub_181_c_eigen_spmat_d_sqrt x824))
| Function (CI.Pointer _, Returns (CI.Pointer x828)), "c_eigen_spmat_d_neg" ->
  (fun x826 ->
    let CI.CPointer x827 = x826 in
    CI.make_ptr x828 (owl_stub_180_c_eigen_spmat_d_neg x827))
| Function (CI.Pointer _, Returns (CI.Pointer x831)), "c_eigen_spmat_d_abs" ->
  (fun x829 ->
    let CI.CPointer x830 = x829 in
    CI.make_ptr x831 (owl_stub_179_c_eigen_spmat_d_abs x830))
| Function (CI.Pointer _, Returns (CI.Primitive CI.Double)),
  "c_eigen_spmat_d_max" ->
  (fun x832 ->
    let CI.CPointer x833 = x832 in owl_stub_178_c_eigen_spmat_d_max x833)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Double)),
  "c_eigen_spmat_d_min" ->
  (fun x834 ->
    let CI.CPointer x835 = x834 in owl_stub_177_c_eigen_spmat_d_min x835)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Double)),
  "c_eigen_spmat_d_sum" ->
  (fun x836 ->
    let CI.CPointer x837 = x836 in owl_stub_176_c_eigen_spmat_d_sum x837)
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x842))),
  "c_eigen_spmat_d_max2" ->
  (fun x838 x840 ->
    let CI.CPointer x841 = x840 in
    let CI.CPointer x839 = x838 in
    CI.make_ptr x842 (owl_stub_175_c_eigen_spmat_d_max2 x839 x841))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x847))),
  "c_eigen_spmat_d_min2" ->
  (fun x843 x845 ->
    let CI.CPointer x846 = x845 in
    let CI.CPointer x844 = x843 in
    CI.make_ptr x847 (owl_stub_174_c_eigen_spmat_d_min2 x844 x846))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Double, Returns (CI.Pointer x851))),
  "c_eigen_spmat_d_div_scalar" ->
  (fun x848 x850 ->
    let CI.CPointer x849 = x848 in
    CI.make_ptr x851 (owl_stub_173_c_eigen_spmat_d_div_scalar x849 x850))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Double, Returns (CI.Pointer x855))),
  "c_eigen_spmat_d_mul_scalar" ->
  (fun x852 x854 ->
    let CI.CPointer x853 = x852 in
    CI.make_ptr x855 (owl_stub_172_c_eigen_spmat_d_mul_scalar x853 x854))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Double, Returns (CI.Pointer x859))),
  "c_eigen_spmat_d_sub_scalar" ->
  (fun x856 x858 ->
    let CI.CPointer x857 = x856 in
    CI.make_ptr x859 (owl_stub_171_c_eigen_spmat_d_sub_scalar x857 x858))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Double, Returns (CI.Pointer x863))),
  "c_eigen_spmat_d_add_scalar" ->
  (fun x860 x862 ->
    let CI.CPointer x861 = x860 in
    CI.make_ptr x863 (owl_stub_170_c_eigen_spmat_d_add_scalar x861 x862))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x868))),
  "c_eigen_spmat_d_gemm" ->
  (fun x864 x866 ->
    let CI.CPointer x867 = x866 in
    let CI.CPointer x865 = x864 in
    CI.make_ptr x868 (owl_stub_169_c_eigen_spmat_d_gemm x865 x867))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x873))),
  "c_eigen_spmat_d_div" ->
  (fun x869 x871 ->
    let CI.CPointer x872 = x871 in
    let CI.CPointer x870 = x869 in
    CI.make_ptr x873 (owl_stub_168_c_eigen_spmat_d_div x870 x872))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x878))),
  "c_eigen_spmat_d_mul" ->
  (fun x874 x876 ->
    let CI.CPointer x877 = x876 in
    let CI.CPointer x875 = x874 in
    CI.make_ptr x878 (owl_stub_167_c_eigen_spmat_d_mul x875 x877))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x883))),
  "c_eigen_spmat_d_sub" ->
  (fun x879 x881 ->
    let CI.CPointer x882 = x881 in
    let CI.CPointer x880 = x879 in
    CI.make_ptr x883 (owl_stub_166_c_eigen_spmat_d_sub x880 x882))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x888))),
  "c_eigen_spmat_d_add" ->
  (fun x884 x886 ->
    let CI.CPointer x887 = x886 in
    let CI.CPointer x885 = x884 in
    CI.make_ptr x888 (owl_stub_165_c_eigen_spmat_d_add x885 x887))
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_d_equal_or_smaller" ->
  (fun x889 x891 ->
    let CI.CPointer x892 = x891 in
    let CI.CPointer x890 = x889 in
    owl_stub_164_c_eigen_spmat_d_equal_or_smaller x890 x892)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_d_equal_or_greater" ->
  (fun x893 x895 ->
    let CI.CPointer x896 = x895 in
    let CI.CPointer x894 = x893 in
    owl_stub_163_c_eigen_spmat_d_equal_or_greater x894 x896)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_d_is_smaller" ->
  (fun x897 x899 ->
    let CI.CPointer x900 = x899 in
    let CI.CPointer x898 = x897 in
    owl_stub_162_c_eigen_spmat_d_is_smaller x898 x900)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_d_is_greater" ->
  (fun x901 x903 ->
    let CI.CPointer x904 = x903 in
    let CI.CPointer x902 = x901 in
    owl_stub_161_c_eigen_spmat_d_is_greater x902 x904)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_d_is_unequal" ->
  (fun x905 x907 ->
    let CI.CPointer x908 = x907 in
    let CI.CPointer x906 = x905 in
    owl_stub_160_c_eigen_spmat_d_is_unequal x906 x908)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_d_is_equal" ->
  (fun x909 x911 ->
    let CI.CPointer x912 = x911 in
    let CI.CPointer x910 = x909 in
    owl_stub_159_c_eigen_spmat_d_is_equal x910 x912)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_d_is_nonnegative" ->
  (fun x913 ->
    let CI.CPointer x914 = x913 in
    owl_stub_158_c_eigen_spmat_d_is_nonnegative x914)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_d_is_nonpositive" ->
  (fun x915 ->
    let CI.CPointer x916 = x915 in
    owl_stub_157_c_eigen_spmat_d_is_nonpositive x916)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_d_is_negative" ->
  (fun x917 ->
    let CI.CPointer x918 = x917 in
    owl_stub_156_c_eigen_spmat_d_is_negative x918)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_d_is_positive" ->
  (fun x919 ->
    let CI.CPointer x920 = x919 in
    owl_stub_155_c_eigen_spmat_d_is_positive x920)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_d_is_zero" ->
  (fun x921 ->
    let CI.CPointer x922 = x921 in owl_stub_154_c_eigen_spmat_d_is_zero x922)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Double)),
  "c_eigen_spmat_d_trace" ->
  (fun x923 ->
    let CI.CPointer x924 = x923 in owl_stub_153_c_eigen_spmat_d_trace x924)
| Function (CI.Pointer _, Returns (CI.Pointer x927)),
  "c_eigen_spmat_d_diagonal" ->
  (fun x925 ->
    let CI.CPointer x926 = x925 in
    CI.make_ptr x927 (owl_stub_152_c_eigen_spmat_d_diagonal x926))
| Function (CI.Pointer _, Returns (CI.Pointer x930)),
  "c_eigen_spmat_d_adjoint" ->
  (fun x928 ->
    let CI.CPointer x929 = x928 in
    CI.make_ptr x930 (owl_stub_151_c_eigen_spmat_d_adjoint x929))
| Function (CI.Pointer _, Returns (CI.Pointer x933)),
  "c_eigen_spmat_d_transpose" ->
  (fun x931 ->
    let CI.CPointer x932 = x931 in
    CI.make_ptr x933 (owl_stub_150_c_eigen_spmat_d_transpose x932))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x937))),
  "c_eigen_spmat_d_col" ->
  (fun x934 x936 ->
    let CI.CPointer x935 = x934 in
    CI.make_ptr x937 (owl_stub_149_c_eigen_spmat_d_col x935 x936))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x941))),
  "c_eigen_spmat_d_row" ->
  (fun x938 x940 ->
    let CI.CPointer x939 = x938 in
    CI.make_ptr x941 (owl_stub_148_c_eigen_spmat_d_row x939 x940))
| Function (CI.Pointer _, Returns (CI.Pointer x944)), "c_eigen_spmat_d_clone" ->
  (fun x942 ->
    let CI.CPointer x943 = x942 in
    CI.make_ptr x944 (owl_stub_147_c_eigen_spmat_d_clone x943))
| Function (CI.Pointer _, Returns (CI.Pointer x947)),
  "c_eigen_spmat_d_outerindexptr" ->
  (fun x945 ->
    let CI.CPointer x946 = x945 in
    CI.make_ptr x947 (owl_stub_146_c_eigen_spmat_d_outerindexptr x946))
| Function (CI.Pointer _, Returns (CI.Pointer x950)),
  "c_eigen_spmat_d_innerindexptr" ->
  (fun x948 ->
    let CI.CPointer x949 = x948 in
    CI.make_ptr x950 (owl_stub_145_c_eigen_spmat_d_innerindexptr x949))
| Function (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x955))),
  "c_eigen_spmat_d_valueptr" ->
  (fun x951 x953 ->
    let CI.CPointer x954 = x953 in
    let CI.CPointer x952 = x951 in
    CI.make_ptr x955 (owl_stub_144_c_eigen_spmat_d_valueptr x952 x954))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Double,
        Function (CI.Primitive CI.Double, Returns CI.Void))),
  "c_eigen_spmat_d_prune" ->
  (fun x956 x958 x959 ->
    let CI.CPointer x957 = x956 in
    owl_stub_143_c_eigen_spmat_d_prune x957 x958 x959)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns CI.Void))),
  "c_eigen_spmat_d_reshape" ->
  (fun x960 x962 x963 ->
    let CI.CPointer x961 = x960 in
    owl_stub_142_c_eigen_spmat_d_reshape x961 x962 x963)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_d_uncompress" ->
  (fun x964 ->
    let CI.CPointer x965 = x964 in
    owl_stub_141_c_eigen_spmat_d_uncompress x965)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_d_compress" ->
  (fun x966 ->
    let CI.CPointer x967 = x966 in owl_stub_140_c_eigen_spmat_d_compress x967)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_d_is_compressed" ->
  (fun x968 ->
    let CI.CPointer x969 = x968 in
    owl_stub_139_c_eigen_spmat_d_is_compressed x969)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_d_reset" ->
  (fun x970 ->
    let CI.CPointer x971 = x970 in owl_stub_138_c_eigen_spmat_d_reset x971)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Double, Returns CI.Void)))),
  "c_eigen_spmat_d_insert" ->
  (fun x972 x974 x975 x976 ->
    let CI.CPointer x973 = x972 in
    owl_stub_137_c_eigen_spmat_d_insert x973 x974 x975 x976)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Double, Returns CI.Void)))),
  "c_eigen_spmat_d_set" ->
  (fun x977 x979 x980 x981 ->
    let CI.CPointer x978 = x977 in
    owl_stub_136_c_eigen_spmat_d_set x978 x979 x980 x981)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Primitive CI.Double)))),
  "c_eigen_spmat_d_get" ->
  (fun x982 x984 x985 ->
    let CI.CPointer x983 = x982 in
    owl_stub_135_c_eigen_spmat_d_get x983 x984 x985)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_spmat_d_nnz" ->
  (fun x986 ->
    let CI.CPointer x987 = x986 in owl_stub_134_c_eigen_spmat_d_nnz x987)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_spmat_d_cols" ->
  (fun x988 ->
    let CI.CPointer x989 = x988 in owl_stub_133_c_eigen_spmat_d_cols x989)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_spmat_d_rows" ->
  (fun x990 ->
    let CI.CPointer x991 = x990 in owl_stub_132_c_eigen_spmat_d_rows x991)
| Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x993)),
  "c_eigen_spmat_d_eye" ->
  (fun x992 -> CI.make_ptr x993 (owl_stub_131_c_eigen_spmat_d_eye x992))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_d_delete" ->
  (fun x994 ->
    let CI.CPointer x995 = x994 in owl_stub_130_c_eigen_spmat_d_delete x995)
| Function
    (CI.Primitive CI.Int64_t,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x999)))),
  "c_eigen_spmat_d_new" ->
  (fun x996 x997 x998 ->
    CI.make_ptr x999 (owl_stub_129_c_eigen_spmat_d_new x996 x997 x998))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_s_print" ->
  (fun x1000 ->
    let CI.CPointer x1001 = x1000 in owl_stub_128_c_eigen_spmat_s_print x1001)
| Function (CI.Pointer _, Returns (CI.Pointer x1004)), "c_eigen_spmat_s_sqrt" ->
  (fun x1002 ->
    let CI.CPointer x1003 = x1002 in
    CI.make_ptr x1004 (owl_stub_127_c_eigen_spmat_s_sqrt x1003))
| Function (CI.Pointer _, Returns (CI.Pointer x1007)), "c_eigen_spmat_s_neg" ->
  (fun x1005 ->
    let CI.CPointer x1006 = x1005 in
    CI.make_ptr x1007 (owl_stub_126_c_eigen_spmat_s_neg x1006))
| Function (CI.Pointer _, Returns (CI.Pointer x1010)), "c_eigen_spmat_s_abs" ->
  (fun x1008 ->
    let CI.CPointer x1009 = x1008 in
    CI.make_ptr x1010 (owl_stub_125_c_eigen_spmat_s_abs x1009))
| Function (CI.Pointer _, Returns (CI.Primitive CI.Float)),
  "c_eigen_spmat_s_max" ->
  (fun x1011 ->
    let CI.CPointer x1012 = x1011 in owl_stub_124_c_eigen_spmat_s_max x1012)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Float)),
  "c_eigen_spmat_s_min" ->
  (fun x1013 ->
    let CI.CPointer x1014 = x1013 in owl_stub_123_c_eigen_spmat_s_min x1014)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Float)),
  "c_eigen_spmat_s_sum" ->
  (fun x1015 ->
    let CI.CPointer x1016 = x1015 in owl_stub_122_c_eigen_spmat_s_sum x1016)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x1021))),
  "c_eigen_spmat_s_max2" ->
  (fun x1017 x1019 ->
    let CI.CPointer x1020 = x1019 in
    let CI.CPointer x1018 = x1017 in
    CI.make_ptr x1021 (owl_stub_121_c_eigen_spmat_s_max2 x1018 x1020))
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x1026))),
  "c_eigen_spmat_s_min2" ->
  (fun x1022 x1024 ->
    let CI.CPointer x1025 = x1024 in
    let CI.CPointer x1023 = x1022 in
    CI.make_ptr x1026 (owl_stub_120_c_eigen_spmat_s_min2 x1023 x1025))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Float, Returns (CI.Pointer x1030))),
  "c_eigen_spmat_s_div_scalar" ->
  (fun x1027 x1029 ->
    let CI.CPointer x1028 = x1027 in
    CI.make_ptr x1030 (owl_stub_119_c_eigen_spmat_s_div_scalar x1028 x1029))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Float, Returns (CI.Pointer x1034))),
  "c_eigen_spmat_s_mul_scalar" ->
  (fun x1031 x1033 ->
    let CI.CPointer x1032 = x1031 in
    CI.make_ptr x1034 (owl_stub_118_c_eigen_spmat_s_mul_scalar x1032 x1033))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Float, Returns (CI.Pointer x1038))),
  "c_eigen_spmat_s_sub_scalar" ->
  (fun x1035 x1037 ->
    let CI.CPointer x1036 = x1035 in
    CI.make_ptr x1038 (owl_stub_117_c_eigen_spmat_s_sub_scalar x1036 x1037))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Float, Returns (CI.Pointer x1042))),
  "c_eigen_spmat_s_add_scalar" ->
  (fun x1039 x1041 ->
    let CI.CPointer x1040 = x1039 in
    CI.make_ptr x1042 (owl_stub_116_c_eigen_spmat_s_add_scalar x1040 x1041))
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x1047))),
  "c_eigen_spmat_s_gemm" ->
  (fun x1043 x1045 ->
    let CI.CPointer x1046 = x1045 in
    let CI.CPointer x1044 = x1043 in
    CI.make_ptr x1047 (owl_stub_115_c_eigen_spmat_s_gemm x1044 x1046))
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x1052))),
  "c_eigen_spmat_s_div" ->
  (fun x1048 x1050 ->
    let CI.CPointer x1051 = x1050 in
    let CI.CPointer x1049 = x1048 in
    CI.make_ptr x1052 (owl_stub_114_c_eigen_spmat_s_div x1049 x1051))
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x1057))),
  "c_eigen_spmat_s_mul" ->
  (fun x1053 x1055 ->
    let CI.CPointer x1056 = x1055 in
    let CI.CPointer x1054 = x1053 in
    CI.make_ptr x1057 (owl_stub_113_c_eigen_spmat_s_mul x1054 x1056))
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x1062))),
  "c_eigen_spmat_s_sub" ->
  (fun x1058 x1060 ->
    let CI.CPointer x1061 = x1060 in
    let CI.CPointer x1059 = x1058 in
    CI.make_ptr x1062 (owl_stub_112_c_eigen_spmat_s_sub x1059 x1061))
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x1067))),
  "c_eigen_spmat_s_add" ->
  (fun x1063 x1065 ->
    let CI.CPointer x1066 = x1065 in
    let CI.CPointer x1064 = x1063 in
    CI.make_ptr x1067 (owl_stub_111_c_eigen_spmat_s_add x1064 x1066))
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_s_equal_or_smaller" ->
  (fun x1068 x1070 ->
    let CI.CPointer x1071 = x1070 in
    let CI.CPointer x1069 = x1068 in
    owl_stub_110_c_eigen_spmat_s_equal_or_smaller x1069 x1071)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_s_equal_or_greater" ->
  (fun x1072 x1074 ->
    let CI.CPointer x1075 = x1074 in
    let CI.CPointer x1073 = x1072 in
    owl_stub_109_c_eigen_spmat_s_equal_or_greater x1073 x1075)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_s_is_smaller" ->
  (fun x1076 x1078 ->
    let CI.CPointer x1079 = x1078 in
    let CI.CPointer x1077 = x1076 in
    owl_stub_108_c_eigen_spmat_s_is_smaller x1077 x1079)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_s_is_greater" ->
  (fun x1080 x1082 ->
    let CI.CPointer x1083 = x1082 in
    let CI.CPointer x1081 = x1080 in
    owl_stub_107_c_eigen_spmat_s_is_greater x1081 x1083)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_s_is_unequal" ->
  (fun x1084 x1086 ->
    let CI.CPointer x1087 = x1086 in
    let CI.CPointer x1085 = x1084 in
    owl_stub_106_c_eigen_spmat_s_is_unequal x1085 x1087)
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Primitive CI.Int))),
  "c_eigen_spmat_s_is_equal" ->
  (fun x1088 x1090 ->
    let CI.CPointer x1091 = x1090 in
    let CI.CPointer x1089 = x1088 in
    owl_stub_105_c_eigen_spmat_s_is_equal x1089 x1091)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_s_is_nonnegative" ->
  (fun x1092 ->
    let CI.CPointer x1093 = x1092 in
    owl_stub_104_c_eigen_spmat_s_is_nonnegative x1093)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_s_is_nonpositive" ->
  (fun x1094 ->
    let CI.CPointer x1095 = x1094 in
    owl_stub_103_c_eigen_spmat_s_is_nonpositive x1095)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_s_is_negative" ->
  (fun x1096 ->
    let CI.CPointer x1097 = x1096 in
    owl_stub_102_c_eigen_spmat_s_is_negative x1097)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_s_is_positive" ->
  (fun x1098 ->
    let CI.CPointer x1099 = x1098 in
    owl_stub_101_c_eigen_spmat_s_is_positive x1099)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_s_is_zero" ->
  (fun x1100 ->
    let CI.CPointer x1101 = x1100 in
    owl_stub_100_c_eigen_spmat_s_is_zero x1101)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Float)),
  "c_eigen_spmat_s_trace" ->
  (fun x1102 ->
    let CI.CPointer x1103 = x1102 in owl_stub_99_c_eigen_spmat_s_trace x1103)
| Function (CI.Pointer _, Returns (CI.Pointer x1106)),
  "c_eigen_spmat_s_diagonal" ->
  (fun x1104 ->
    let CI.CPointer x1105 = x1104 in
    CI.make_ptr x1106 (owl_stub_98_c_eigen_spmat_s_diagonal x1105))
| Function (CI.Pointer _, Returns (CI.Pointer x1109)),
  "c_eigen_spmat_s_adjoint" ->
  (fun x1107 ->
    let CI.CPointer x1108 = x1107 in
    CI.make_ptr x1109 (owl_stub_97_c_eigen_spmat_s_adjoint x1108))
| Function (CI.Pointer _, Returns (CI.Pointer x1112)),
  "c_eigen_spmat_s_transpose" ->
  (fun x1110 ->
    let CI.CPointer x1111 = x1110 in
    CI.make_ptr x1112 (owl_stub_96_c_eigen_spmat_s_transpose x1111))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1116))),
  "c_eigen_spmat_s_col" ->
  (fun x1113 x1115 ->
    let CI.CPointer x1114 = x1113 in
    CI.make_ptr x1116 (owl_stub_95_c_eigen_spmat_s_col x1114 x1115))
| Function
    (CI.Pointer _,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1120))),
  "c_eigen_spmat_s_row" ->
  (fun x1117 x1119 ->
    let CI.CPointer x1118 = x1117 in
    CI.make_ptr x1120 (owl_stub_94_c_eigen_spmat_s_row x1118 x1119))
| Function (CI.Pointer _, Returns (CI.Pointer x1123)),
  "c_eigen_spmat_s_clone" ->
  (fun x1121 ->
    let CI.CPointer x1122 = x1121 in
    CI.make_ptr x1123 (owl_stub_93_c_eigen_spmat_s_clone x1122))
| Function (CI.Pointer _, Returns (CI.Pointer x1126)),
  "c_eigen_spmat_s_outerindexptr" ->
  (fun x1124 ->
    let CI.CPointer x1125 = x1124 in
    CI.make_ptr x1126 (owl_stub_92_c_eigen_spmat_s_outerindexptr x1125))
| Function (CI.Pointer _, Returns (CI.Pointer x1129)),
  "c_eigen_spmat_s_innerindexptr" ->
  (fun x1127 ->
    let CI.CPointer x1128 = x1127 in
    CI.make_ptr x1129 (owl_stub_91_c_eigen_spmat_s_innerindexptr x1128))
| Function
    (CI.Pointer _, Function (CI.Pointer _, Returns (CI.Pointer x1134))),
  "c_eigen_spmat_s_valueptr" ->
  (fun x1130 x1132 ->
    let CI.CPointer x1133 = x1132 in
    let CI.CPointer x1131 = x1130 in
    CI.make_ptr x1134 (owl_stub_90_c_eigen_spmat_s_valueptr x1131 x1133))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Float,
        Function (CI.Primitive CI.Float, Returns CI.Void))),
  "c_eigen_spmat_s_prune" ->
  (fun x1135 x1137 x1138 ->
    let CI.CPointer x1136 = x1135 in
    owl_stub_89_c_eigen_spmat_s_prune x1136 x1137 x1138)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns CI.Void))),
  "c_eigen_spmat_s_reshape" ->
  (fun x1139 x1141 x1142 ->
    let CI.CPointer x1140 = x1139 in
    owl_stub_88_c_eigen_spmat_s_reshape x1140 x1141 x1142)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_s_uncompress" ->
  (fun x1143 ->
    let CI.CPointer x1144 = x1143 in
    owl_stub_87_c_eigen_spmat_s_uncompress x1144)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_s_compress" ->
  (fun x1145 ->
    let CI.CPointer x1146 = x1145 in
    owl_stub_86_c_eigen_spmat_s_compress x1146)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int)),
  "c_eigen_spmat_s_is_compressed" ->
  (fun x1147 ->
    let CI.CPointer x1148 = x1147 in
    owl_stub_85_c_eigen_spmat_s_is_compressed x1148)
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_s_reset" ->
  (fun x1149 ->
    let CI.CPointer x1150 = x1149 in owl_stub_84_c_eigen_spmat_s_reset x1150)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Float, Returns CI.Void)))),
  "c_eigen_spmat_s_insert" ->
  (fun x1151 x1153 x1154 x1155 ->
    let CI.CPointer x1152 = x1151 in
    owl_stub_83_c_eigen_spmat_s_insert x1152 x1153 x1154 x1155)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Float, Returns CI.Void)))),
  "c_eigen_spmat_s_set" ->
  (fun x1156 x1158 x1159 x1160 ->
    let CI.CPointer x1157 = x1156 in
    owl_stub_82_c_eigen_spmat_s_set x1157 x1158 x1159 x1160)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Primitive CI.Float)))),
  "c_eigen_spmat_s_get" ->
  (fun x1161 x1163 x1164 ->
    let CI.CPointer x1162 = x1161 in
    owl_stub_81_c_eigen_spmat_s_get x1162 x1163 x1164)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_spmat_s_nnz" ->
  (fun x1165 ->
    let CI.CPointer x1166 = x1165 in owl_stub_80_c_eigen_spmat_s_nnz x1166)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_spmat_s_cols" ->
  (fun x1167 ->
    let CI.CPointer x1168 = x1167 in owl_stub_79_c_eigen_spmat_s_cols x1168)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_spmat_s_rows" ->
  (fun x1169 ->
    let CI.CPointer x1170 = x1169 in owl_stub_78_c_eigen_spmat_s_rows x1170)
| Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1172)),
  "c_eigen_spmat_s_eye" ->
  (fun x1171 -> CI.make_ptr x1172 (owl_stub_77_c_eigen_spmat_s_eye x1171))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_spmat_s_delete" ->
  (fun x1173 ->
    let CI.CPointer x1174 = x1173 in owl_stub_76_c_eigen_spmat_s_delete x1174)
| Function
    (CI.Primitive CI.Int64_t,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1178)))),
  "c_eigen_spmat_s_new" ->
  (fun x1175 x1176 x1177 ->
    CI.make_ptr x1178 (owl_stub_75_c_eigen_spmat_s_new x1175 x1176 x1177))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1183)))),
  "c_eigen_dsmat_z_inv" ->
  (fun x1179 x1181 x1182 ->
    let CI.CPointer x1180 = x1179 in
    CI.make_ptr x1183 (owl_stub_74_c_eigen_dsmat_z_inv x1180 x1181 x1182))
| Function
    (CI.Primitive CI.Int,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Pointer _, Returns CI.Void))))),
  "c_eigen_dsmat_z_colwise_op" ->
  (fun x1184 x1185 x1187 x1188 x1189 ->
    let CI.CPointer x1190 = x1189 in
    let CI.CPointer x1186 = x1185 in
    owl_stub_73_c_eigen_dsmat_z_colwise_op x1184 x1186 x1187 x1188 x1190)
| Function
    (CI.Primitive CI.Int,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Pointer _, Returns CI.Void))))),
  "c_eigen_dsmat_z_rowwise_op" ->
  (fun x1191 x1192 x1194 x1195 x1196 ->
    let CI.CPointer x1197 = x1196 in
    let CI.CPointer x1193 = x1192 in
    owl_stub_72_c_eigen_dsmat_z_rowwise_op x1191 x1193 x1194 x1195 x1197)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Primitive CI.Int64_t, Returns CI.Void))))),
  "c_eigen_dsmat_z_swap_cols" ->
  (fun x1198 x1200 x1201 x1202 x1203 ->
    let CI.CPointer x1199 = x1198 in
    owl_stub_71_c_eigen_dsmat_z_swap_cols x1199 x1200 x1201 x1202 x1203)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Primitive CI.Int64_t, Returns CI.Void))))),
  "c_eigen_dsmat_z_swap_rows" ->
  (fun x1204 x1206 x1207 x1208 x1209 ->
    let CI.CPointer x1205 = x1204 in
    owl_stub_70_c_eigen_dsmat_z_swap_rows x1205 x1206 x1207 x1208 x1209)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1214)))),
  "c_eigen_dsmat_z_transpose" ->
  (fun x1210 x1212 x1213 ->
    let CI.CPointer x1211 = x1210 in
    CI.make_ptr x1214
      (owl_stub_69_c_eigen_dsmat_z_transpose x1211 x1212 x1213))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Pointer _,
              Function
                (CI.Primitive CI.Int64_t,
                 Function
                   (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1223))))))),
  "c_eigen_dsmat_z_gemm" ->
  (fun x1215 x1217 x1218 x1219 x1221 x1222 ->
    let CI.CPointer x1220 = x1219 in
    let CI.CPointer x1216 = x1215 in
    CI.make_ptr x1223
      (owl_stub_68_c_eigen_dsmat_z_gemm x1216 x1217 x1218 x1220 x1221 x1222))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_dsmat_z_print" ->
  (fun x1224 ->
    let CI.CPointer x1225 = x1224 in owl_stub_67_c_eigen_dsmat_z_print x1225)
| Function (CI.Pointer _, Returns (CI.Pointer x1228)), "c_eigen_dsmat_z_data" ->
  (fun x1226 ->
    let CI.CPointer x1227 = x1226 in
    CI.make_ptr x1228 (owl_stub_66_c_eigen_dsmat_z_data x1227))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Complex64, Returns CI.Void)))),
  "c_eigen_dsmat_z_set" ->
  (fun x1229 x1231 x1232 x1233 ->
    let CI.CPointer x1230 = x1229 in
    owl_stub_65_c_eigen_dsmat_z_set x1230 x1231 x1232 x1233)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t, Returns (CI.Primitive CI.Complex64)))),
  "c_eigen_dsmat_z_get" ->
  (fun x1234 x1236 x1237 ->
    let CI.CPointer x1235 = x1234 in
    owl_stub_64_c_eigen_dsmat_z_get x1235 x1236 x1237)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_dsmat_z_cols" ->
  (fun x1238 ->
    let CI.CPointer x1239 = x1238 in owl_stub_63_c_eigen_dsmat_z_cols x1239)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_dsmat_z_rows" ->
  (fun x1240 ->
    let CI.CPointer x1241 = x1240 in owl_stub_62_c_eigen_dsmat_z_rows x1241)
| Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1243)),
  "c_eigen_dsmat_z_eye" ->
  (fun x1242 -> CI.make_ptr x1243 (owl_stub_61_c_eigen_dsmat_z_eye x1242))
| Function
    (CI.Primitive CI.Int64_t,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1246))),
  "c_eigen_dsmat_z_ones" ->
  (fun x1244 x1245 ->
    CI.make_ptr x1246 (owl_stub_60_c_eigen_dsmat_z_ones x1244 x1245))
| Function
    (CI.Primitive CI.Int64_t,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1249))),
  "c_eigen_dsmat_z_zeros" ->
  (fun x1247 x1248 ->
    CI.make_ptr x1249 (owl_stub_59_c_eigen_dsmat_z_zeros x1247 x1248))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_dsmat_z_delete" ->
  (fun x1250 ->
    let CI.CPointer x1251 = x1250 in owl_stub_58_c_eigen_dsmat_z_delete x1251)
| Function
    (CI.Primitive CI.Int64_t,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1254))),
  "c_eigen_dsmat_z_new" ->
  (fun x1252 x1253 ->
    CI.make_ptr x1254 (owl_stub_57_c_eigen_dsmat_z_new x1252 x1253))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1259)))),
  "c_eigen_dsmat_c_inv" ->
  (fun x1255 x1257 x1258 ->
    let CI.CPointer x1256 = x1255 in
    CI.make_ptr x1259 (owl_stub_56_c_eigen_dsmat_c_inv x1256 x1257 x1258))
| Function
    (CI.Primitive CI.Int,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Pointer _, Returns CI.Void))))),
  "c_eigen_dsmat_c_colwise_op" ->
  (fun x1260 x1261 x1263 x1264 x1265 ->
    let CI.CPointer x1266 = x1265 in
    let CI.CPointer x1262 = x1261 in
    owl_stub_55_c_eigen_dsmat_c_colwise_op x1260 x1262 x1263 x1264 x1266)
| Function
    (CI.Primitive CI.Int,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Pointer _, Returns CI.Void))))),
  "c_eigen_dsmat_c_rowwise_op" ->
  (fun x1267 x1268 x1270 x1271 x1272 ->
    let CI.CPointer x1273 = x1272 in
    let CI.CPointer x1269 = x1268 in
    owl_stub_54_c_eigen_dsmat_c_rowwise_op x1267 x1269 x1270 x1271 x1273)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Primitive CI.Int64_t, Returns CI.Void))))),
  "c_eigen_dsmat_c_swap_cols" ->
  (fun x1274 x1276 x1277 x1278 x1279 ->
    let CI.CPointer x1275 = x1274 in
    owl_stub_53_c_eigen_dsmat_c_swap_cols x1275 x1276 x1277 x1278 x1279)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Primitive CI.Int64_t, Returns CI.Void))))),
  "c_eigen_dsmat_c_swap_rows" ->
  (fun x1280 x1282 x1283 x1284 x1285 ->
    let CI.CPointer x1281 = x1280 in
    owl_stub_52_c_eigen_dsmat_c_swap_rows x1281 x1282 x1283 x1284 x1285)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1290)))),
  "c_eigen_dsmat_c_transpose" ->
  (fun x1286 x1288 x1289 ->
    let CI.CPointer x1287 = x1286 in
    CI.make_ptr x1290
      (owl_stub_51_c_eigen_dsmat_c_transpose x1287 x1288 x1289))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Pointer _,
              Function
                (CI.Primitive CI.Int64_t,
                 Function
                   (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1299))))))),
  "c_eigen_dsmat_c_gemm" ->
  (fun x1291 x1293 x1294 x1295 x1297 x1298 ->
    let CI.CPointer x1296 = x1295 in
    let CI.CPointer x1292 = x1291 in
    CI.make_ptr x1299
      (owl_stub_50_c_eigen_dsmat_c_gemm x1292 x1293 x1294 x1296 x1297 x1298))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_dsmat_c_print" ->
  (fun x1300 ->
    let CI.CPointer x1301 = x1300 in owl_stub_49_c_eigen_dsmat_c_print x1301)
| Function (CI.Pointer _, Returns (CI.Pointer x1304)), "c_eigen_dsmat_c_data" ->
  (fun x1302 ->
    let CI.CPointer x1303 = x1302 in
    CI.make_ptr x1304 (owl_stub_48_c_eigen_dsmat_c_data x1303))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Complex32, Returns CI.Void)))),
  "c_eigen_dsmat_c_set" ->
  (fun x1305 x1307 x1308 x1309 ->
    let CI.CPointer x1306 = x1305 in
    owl_stub_47_c_eigen_dsmat_c_set x1306 x1307 x1308 x1309)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t, Returns (CI.Primitive CI.Complex32)))),
  "c_eigen_dsmat_c_get" ->
  (fun x1310 x1312 x1313 ->
    let CI.CPointer x1311 = x1310 in
    owl_stub_46_c_eigen_dsmat_c_get x1311 x1312 x1313)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_dsmat_c_cols" ->
  (fun x1314 ->
    let CI.CPointer x1315 = x1314 in owl_stub_45_c_eigen_dsmat_c_cols x1315)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_dsmat_c_rows" ->
  (fun x1316 ->
    let CI.CPointer x1317 = x1316 in owl_stub_44_c_eigen_dsmat_c_rows x1317)
| Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1319)),
  "c_eigen_dsmat_c_eye" ->
  (fun x1318 -> CI.make_ptr x1319 (owl_stub_43_c_eigen_dsmat_c_eye x1318))
| Function
    (CI.Primitive CI.Int64_t,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1322))),
  "c_eigen_dsmat_c_ones" ->
  (fun x1320 x1321 ->
    CI.make_ptr x1322 (owl_stub_42_c_eigen_dsmat_c_ones x1320 x1321))
| Function
    (CI.Primitive CI.Int64_t,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1325))),
  "c_eigen_dsmat_c_zeros" ->
  (fun x1323 x1324 ->
    CI.make_ptr x1325 (owl_stub_41_c_eigen_dsmat_c_zeros x1323 x1324))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_dsmat_c_delete" ->
  (fun x1326 ->
    let CI.CPointer x1327 = x1326 in owl_stub_40_c_eigen_dsmat_c_delete x1327)
| Function
    (CI.Primitive CI.Int64_t,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1330))),
  "c_eigen_dsmat_c_new" ->
  (fun x1328 x1329 ->
    CI.make_ptr x1330 (owl_stub_39_c_eigen_dsmat_c_new x1328 x1329))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1335)))),
  "c_eigen_dsmat_d_inv" ->
  (fun x1331 x1333 x1334 ->
    let CI.CPointer x1332 = x1331 in
    CI.make_ptr x1335 (owl_stub_38_c_eigen_dsmat_d_inv x1332 x1333 x1334))
| Function
    (CI.Primitive CI.Int,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Pointer _, Returns CI.Void))))),
  "c_eigen_dsmat_d_colwise_op" ->
  (fun x1336 x1337 x1339 x1340 x1341 ->
    let CI.CPointer x1342 = x1341 in
    let CI.CPointer x1338 = x1337 in
    owl_stub_37_c_eigen_dsmat_d_colwise_op x1336 x1338 x1339 x1340 x1342)
| Function
    (CI.Primitive CI.Int,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Pointer _, Returns CI.Void))))),
  "c_eigen_dsmat_d_rowwise_op" ->
  (fun x1343 x1344 x1346 x1347 x1348 ->
    let CI.CPointer x1349 = x1348 in
    let CI.CPointer x1345 = x1344 in
    owl_stub_36_c_eigen_dsmat_d_rowwise_op x1343 x1345 x1346 x1347 x1349)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Primitive CI.Int64_t, Returns CI.Void))))),
  "c_eigen_dsmat_d_swap_cols" ->
  (fun x1350 x1352 x1353 x1354 x1355 ->
    let CI.CPointer x1351 = x1350 in
    owl_stub_35_c_eigen_dsmat_d_swap_cols x1351 x1352 x1353 x1354 x1355)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Primitive CI.Int64_t, Returns CI.Void))))),
  "c_eigen_dsmat_d_swap_rows" ->
  (fun x1356 x1358 x1359 x1360 x1361 ->
    let CI.CPointer x1357 = x1356 in
    owl_stub_34_c_eigen_dsmat_d_swap_rows x1357 x1358 x1359 x1360 x1361)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1366)))),
  "c_eigen_dsmat_d_transpose" ->
  (fun x1362 x1364 x1365 ->
    let CI.CPointer x1363 = x1362 in
    CI.make_ptr x1366
      (owl_stub_33_c_eigen_dsmat_d_transpose x1363 x1364 x1365))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Pointer _,
              Function
                (CI.Primitive CI.Int64_t,
                 Function
                   (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1375))))))),
  "c_eigen_dsmat_d_gemm" ->
  (fun x1367 x1369 x1370 x1371 x1373 x1374 ->
    let CI.CPointer x1372 = x1371 in
    let CI.CPointer x1368 = x1367 in
    CI.make_ptr x1375
      (owl_stub_32_c_eigen_dsmat_d_gemm x1368 x1369 x1370 x1372 x1373 x1374))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_dsmat_d_print" ->
  (fun x1376 ->
    let CI.CPointer x1377 = x1376 in owl_stub_31_c_eigen_dsmat_d_print x1377)
| Function (CI.Pointer _, Returns (CI.Pointer x1380)), "c_eigen_dsmat_d_data" ->
  (fun x1378 ->
    let CI.CPointer x1379 = x1378 in
    CI.make_ptr x1380 (owl_stub_30_c_eigen_dsmat_d_data x1379))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Double, Returns CI.Void)))),
  "c_eigen_dsmat_d_set" ->
  (fun x1381 x1383 x1384 x1385 ->
    let CI.CPointer x1382 = x1381 in
    owl_stub_29_c_eigen_dsmat_d_set x1382 x1383 x1384 x1385)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Primitive CI.Double)))),
  "c_eigen_dsmat_d_get" ->
  (fun x1386 x1388 x1389 ->
    let CI.CPointer x1387 = x1386 in
    owl_stub_28_c_eigen_dsmat_d_get x1387 x1388 x1389)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_dsmat_d_cols" ->
  (fun x1390 ->
    let CI.CPointer x1391 = x1390 in owl_stub_27_c_eigen_dsmat_d_cols x1391)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_dsmat_d_rows" ->
  (fun x1392 ->
    let CI.CPointer x1393 = x1392 in owl_stub_26_c_eigen_dsmat_d_rows x1393)
| Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1395)),
  "c_eigen_dsmat_d_eye" ->
  (fun x1394 -> CI.make_ptr x1395 (owl_stub_25_c_eigen_dsmat_d_eye x1394))
| Function
    (CI.Primitive CI.Int64_t,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1398))),
  "c_eigen_dsmat_d_ones" ->
  (fun x1396 x1397 ->
    CI.make_ptr x1398 (owl_stub_24_c_eigen_dsmat_d_ones x1396 x1397))
| Function
    (CI.Primitive CI.Int64_t,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1401))),
  "c_eigen_dsmat_d_zeros" ->
  (fun x1399 x1400 ->
    CI.make_ptr x1401 (owl_stub_23_c_eigen_dsmat_d_zeros x1399 x1400))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_dsmat_d_delete" ->
  (fun x1402 ->
    let CI.CPointer x1403 = x1402 in owl_stub_22_c_eigen_dsmat_d_delete x1403)
| Function
    (CI.Primitive CI.Int64_t,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1406))),
  "c_eigen_dsmat_d_new" ->
  (fun x1404 x1405 ->
    CI.make_ptr x1406 (owl_stub_21_c_eigen_dsmat_d_new x1404 x1405))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1411)))),
  "c_eigen_dsmat_s_inv" ->
  (fun x1407 x1409 x1410 ->
    let CI.CPointer x1408 = x1407 in
    CI.make_ptr x1411 (owl_stub_20_c_eigen_dsmat_s_inv x1408 x1409 x1410))
| Function
    (CI.Primitive CI.Int,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Pointer _, Returns CI.Void))))),
  "c_eigen_dsmat_s_colwise_op" ->
  (fun x1412 x1413 x1415 x1416 x1417 ->
    let CI.CPointer x1418 = x1417 in
    let CI.CPointer x1414 = x1413 in
    owl_stub_19_c_eigen_dsmat_s_colwise_op x1412 x1414 x1415 x1416 x1418)
| Function
    (CI.Primitive CI.Int,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Pointer _, Returns CI.Void))))),
  "c_eigen_dsmat_s_rowwise_op" ->
  (fun x1419 x1420 x1422 x1423 x1424 ->
    let CI.CPointer x1425 = x1424 in
    let CI.CPointer x1421 = x1420 in
    owl_stub_18_c_eigen_dsmat_s_rowwise_op x1419 x1421 x1422 x1423 x1425)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Primitive CI.Int64_t, Returns CI.Void))))),
  "c_eigen_dsmat_s_swap_cols" ->
  (fun x1426 x1428 x1429 x1430 x1431 ->
    let CI.CPointer x1427 = x1426 in
    owl_stub_17_c_eigen_dsmat_s_swap_cols x1427 x1428 x1429 x1430 x1431)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Primitive CI.Int64_t,
              Function (CI.Primitive CI.Int64_t, Returns CI.Void))))),
  "c_eigen_dsmat_s_swap_rows" ->
  (fun x1432 x1434 x1435 x1436 x1437 ->
    let CI.CPointer x1433 = x1432 in
    owl_stub_16_c_eigen_dsmat_s_swap_rows x1433 x1434 x1435 x1436 x1437)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1442)))),
  "c_eigen_dsmat_s_transpose" ->
  (fun x1438 x1440 x1441 ->
    let CI.CPointer x1439 = x1438 in
    CI.make_ptr x1442
      (owl_stub_15_c_eigen_dsmat_s_transpose x1439 x1440 x1441))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function
             (CI.Pointer _,
              Function
                (CI.Primitive CI.Int64_t,
                 Function
                   (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1451))))))),
  "c_eigen_dsmat_s_gemm" ->
  (fun x1443 x1445 x1446 x1447 x1449 x1450 ->
    let CI.CPointer x1448 = x1447 in
    let CI.CPointer x1444 = x1443 in
    CI.make_ptr x1451
      (owl_stub_14_c_eigen_dsmat_s_gemm x1444 x1445 x1446 x1448 x1449 x1450))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_dsmat_s_print" ->
  (fun x1452 ->
    let CI.CPointer x1453 = x1452 in owl_stub_13_c_eigen_dsmat_s_print x1453)
| Function
    (CI.Pointer _,
     Function
       (CI.Pointer _,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Int64_t, Returns CI.Void)))),
  "c_eigen_dsmat_s_of_bigarray2" ->
  (fun x1454 x1456 x1458 x1459 ->
    let CI.CPointer x1457 = x1456 in
    let CI.CPointer x1455 = x1454 in
    owl_stub_12_c_eigen_dsmat_s_of_bigarray2 x1455 x1457 x1458 x1459)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1464)))),
  "c_eigen_dsmat_s_of_bigarray" ->
  (fun x1460 x1462 x1463 ->
    let CI.CPointer x1461 = x1460 in
    CI.make_ptr x1464
      (owl_stub_11_c_eigen_dsmat_s_of_bigarray x1461 x1462 x1463))
| Function (CI.Pointer _, Returns (CI.Pointer x1467)), "c_eigen_dsmat_s_data" ->
  (fun x1465 ->
    let CI.CPointer x1466 = x1465 in
    CI.make_ptr x1467 (owl_stub_10_c_eigen_dsmat_s_data x1466))
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function
          (CI.Primitive CI.Int64_t,
           Function (CI.Primitive CI.Float, Returns CI.Void)))),
  "c_eigen_dsmat_s_set" ->
  (fun x1468 x1470 x1471 x1472 ->
    let CI.CPointer x1469 = x1468 in
    owl_stub_9_c_eigen_dsmat_s_set x1469 x1470 x1471 x1472)
| Function
    (CI.Pointer _,
     Function
       (CI.Primitive CI.Int64_t,
        Function (CI.Primitive CI.Int64_t, Returns (CI.Primitive CI.Float)))),
  "c_eigen_dsmat_s_get" ->
  (fun x1473 x1475 x1476 ->
    let CI.CPointer x1474 = x1473 in
    owl_stub_8_c_eigen_dsmat_s_get x1474 x1475 x1476)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_dsmat_s_cols" ->
  (fun x1477 ->
    let CI.CPointer x1478 = x1477 in owl_stub_7_c_eigen_dsmat_s_cols x1478)
| Function (CI.Pointer _, Returns (CI.Primitive CI.Int64_t)),
  "c_eigen_dsmat_s_rows" ->
  (fun x1479 ->
    let CI.CPointer x1480 = x1479 in owl_stub_6_c_eigen_dsmat_s_rows x1480)
| Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1482)),
  "c_eigen_dsmat_s_eye" ->
  (fun x1481 -> CI.make_ptr x1482 (owl_stub_5_c_eigen_dsmat_s_eye x1481))
| Function
    (CI.Primitive CI.Int64_t,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1485))),
  "c_eigen_dsmat_s_ones" ->
  (fun x1483 x1484 ->
    CI.make_ptr x1485 (owl_stub_4_c_eigen_dsmat_s_ones x1483 x1484))
| Function
    (CI.Primitive CI.Int64_t,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1488))),
  "c_eigen_dsmat_s_zeros" ->
  (fun x1486 x1487 ->
    CI.make_ptr x1488 (owl_stub_3_c_eigen_dsmat_s_zeros x1486 x1487))
| Function (CI.Pointer _, Returns CI.Void), "c_eigen_dsmat_s_delete" ->
  (fun x1489 ->
    let CI.CPointer x1490 = x1489 in owl_stub_2_c_eigen_dsmat_s_delete x1490)
| Function
    (CI.Primitive CI.Int64_t,
     Function (CI.Primitive CI.Int64_t, Returns (CI.Pointer x1493))),
  "c_eigen_dsmat_s_new" ->
  (fun x1491 x1492 ->
    CI.make_ptr x1493 (owl_stub_1_c_eigen_dsmat_s_new x1491 x1492))
| _, s ->  Printf.ksprintf failwith "No match for %s" s


let foreign_value : type a. string -> a Ctypes.typ -> a Ctypes.ptr =
  fun name t -> match t, name with
| _, s ->  Printf.ksprintf failwith "No match for %s" s