File: _lapack_subroutine_wrappers.f

package info (click to toggle)
python-scipy 0.18.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 75,464 kB
  • ctags: 79,406
  • sloc: python: 143,495; cpp: 89,357; fortran: 81,650; ansic: 79,778; makefile: 364; sh: 265
file content (799 lines) | stat: -rw-r--r-- 19,975 bytes parent folder | download
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
c     This file was generated by _cython_wrapper_generators.py.
c     Do not edit this file directly.

      subroutine cladivwrp(ret, x, y)
        external wcladiv
        complex wcladiv
        complex ret
        complex x
        complex y
        ret = wcladiv(x, y)
      end

      subroutine clangbwrp(ret, norm, n, kl, ku, ab, ldab, work)
        external wclangb
        real wclangb
        real ret
        character norm
        integer n
        integer kl
        integer ku
        complex ab(ldab,*)
        integer ldab
        real work(*)
        ret = wclangb(norm, n, kl, ku, ab, ldab, work)
      end

      subroutine clangewrp(ret, norm, m, n, a, lda, work)
        external wclange
        real wclange
        real ret
        character norm
        integer m
        integer n
        complex a(lda,*)
        integer lda
        real work(*)
        ret = wclange(norm, m, n, a, lda, work)
      end

      subroutine clangtwrp(ret, norm, n, dl, d, du)
        external wclangt
        real wclangt
        real ret
        character norm
        integer n
        complex dl(*)
        complex d(*)
        complex du(*)
        ret = wclangt(norm, n, dl, d, du)
      end

      subroutine clanhbwrp(ret, norm, uplo, n, k, ab, ldab, work)
        external wclanhb
        real wclanhb
        real ret
        character norm
        character uplo
        integer n
        integer k
        complex ab(ldab,*)
        integer ldab
        real work(*)
        ret = wclanhb(norm, uplo, n, k, ab, ldab, work)
      end

      subroutine clanhewrp(ret, norm, uplo, n, a, lda, work)
        external wclanhe
        real wclanhe
        real ret
        character norm
        character uplo
        integer n
        complex a(lda,*)
        integer lda
        real work(*)
        ret = wclanhe(norm, uplo, n, a, lda, work)
      end

      subroutine clanhpwrp(ret, norm, uplo, n, ap, work)
        external wclanhp
        real wclanhp
        real ret
        character norm
        character uplo
        integer n
        complex ap(*)
        real work(*)
        ret = wclanhp(norm, uplo, n, ap, work)
      end

      subroutine clanhswrp(ret, norm, n, a, lda, work)
        external wclanhs
        real wclanhs
        real ret
        character norm
        integer n
        complex a(lda,*)
        integer lda
        real work(*)
        ret = wclanhs(norm, n, a, lda, work)
      end

      subroutine clanhtwrp(ret, norm, n, d, e)
        external wclanht
        real wclanht
        real ret
        character norm
        integer n
        real d(*)
        complex e(*)
        ret = wclanht(norm, n, d, e)
      end

      subroutine clansbwrp(ret, norm, uplo, n, k, ab, ldab, work)
        external wclansb
        real wclansb
        real ret
        character norm
        character uplo
        integer n
        integer k
        complex ab(ldab,*)
        integer ldab
        real work(*)
        ret = wclansb(norm, uplo, n, k, ab, ldab, work)
      end

      subroutine clanspwrp(ret, norm, uplo, n, ap, work)
        external wclansp
        real wclansp
        real ret
        character norm
        character uplo
        integer n
        complex ap(*)
        real work(*)
        ret = wclansp(norm, uplo, n, ap, work)
      end

      subroutine clansywrp(ret, norm, uplo, n, a, lda, work)
        external wclansy
        real wclansy
        real ret
        character norm
        character uplo
        integer n
        complex a(lda,*)
        integer lda
        real work(*)
        ret = wclansy(norm, uplo, n, a, lda, work)
      end

      subroutine clantbwrp(ret, norm, uplo, diag, n, k, ab, ldab, work)
        external wclantb
        real wclantb
        real ret
        character norm
        character uplo
        character diag
        integer n
        integer k
        complex ab(ldab,*)
        integer ldab
        real work(*)
        ret = wclantb(norm, uplo, diag, n, k, ab, ldab, work)
      end

      subroutine clantpwrp(ret, norm, uplo, diag, n, ap, work)
        external wclantp
        real wclantp
        real ret
        character norm
        character uplo
        character diag
        integer n
        complex ap(*)
        real work(*)
        ret = wclantp(norm, uplo, diag, n, ap, work)
      end

      subroutine clantrwrp(ret, norm, uplo, diag, m, n, a, lda, work)
        external wclantr
        real wclantr
        real ret
        character norm
        character uplo
        character diag
        integer m
        integer n
        complex a(lda,*)
        integer lda
        real work(*)
        ret = wclantr(norm, uplo, diag, m, n, a, lda, work)
      end

      subroutine disnanwrp(ret, din)
        external disnan
        logical disnan
        logical ret
        double precision din
        ret = disnan(din)
      end

      subroutine dlamchwrp(ret, cmach)
        external dlamch
        double precision dlamch
        double precision ret
        character cmach
        ret = dlamch(cmach)
      end

      subroutine dlanegwrp(ret, n, d, lld, sigma, pivmin, r)
        external dlaneg
        integer dlaneg
        integer ret
        integer n
        double precision d(*)
        double precision lld(*)
        double precision sigma
        double precision pivmin
        integer r
        ret = dlaneg(n, d, lld, sigma, pivmin, r)
      end

      subroutine dlangbwrp(ret, norm, n, kl, ku, ab, ldab, work)
        external dlangb
        double precision dlangb
        double precision ret
        character norm
        integer n
        integer kl
        integer ku
        double precision ab(ldab,*)
        integer ldab
        double precision work(*)
        ret = dlangb(norm, n, kl, ku, ab, ldab, work)
      end

      subroutine dlangewrp(ret, norm, m, n, a, lda, work)
        external dlange
        double precision dlange
        double precision ret
        character norm
        integer m
        integer n
        double precision a(lda,*)
        integer lda
        double precision work(*)
        ret = dlange(norm, m, n, a, lda, work)
      end

      subroutine dlangtwrp(ret, norm, n, dl, d, du)
        external dlangt
        double precision dlangt
        double precision ret
        character norm
        integer n
        double precision dl(*)
        double precision d(*)
        double precision du(*)
        ret = dlangt(norm, n, dl, d, du)
      end

      subroutine dlanhswrp(ret, norm, n, a, lda, work)
        external dlanhs
        double precision dlanhs
        double precision ret
        character norm
        integer n
        double precision a(lda,*)
        integer lda
        double precision work(*)
        ret = dlanhs(norm, n, a, lda, work)
      end

      subroutine dlansbwrp(ret, norm, uplo, n, k, ab, ldab, work)
        external dlansb
        double precision dlansb
        double precision ret
        character norm
        character uplo
        integer n
        integer k
        double precision ab(ldab,*)
        integer ldab
        double precision work(*)
        ret = dlansb(norm, uplo, n, k, ab, ldab, work)
      end

      subroutine dlanspwrp(ret, norm, uplo, n, ap, work)
        external dlansp
        double precision dlansp
        double precision ret
        character norm
        character uplo
        integer n
        double precision ap(*)
        double precision work(*)
        ret = dlansp(norm, uplo, n, ap, work)
      end

      subroutine dlanstwrp(ret, norm, n, d, e)
        external dlanst
        double precision dlanst
        double precision ret
        character norm
        integer n
        double precision d(*)
        double precision e(*)
        ret = dlanst(norm, n, d, e)
      end

      subroutine dlansywrp(ret, norm, uplo, n, a, lda, work)
        external dlansy
        double precision dlansy
        double precision ret
        character norm
        character uplo
        integer n
        double precision a(lda,*)
        integer lda
        double precision work(*)
        ret = dlansy(norm, uplo, n, a, lda, work)
      end

      subroutine dlantbwrp(ret, norm, uplo, diag, n, k, ab, ldab, work)
        external dlantb
        double precision dlantb
        double precision ret
        character norm
        character uplo
        character diag
        integer n
        integer k
        double precision ab(ldab,*)
        integer ldab
        double precision work(*)
        ret = dlantb(norm, uplo, diag, n, k, ab, ldab, work)
      end

      subroutine dlantpwrp(ret, norm, uplo, diag, n, ap, work)
        external dlantp
        double precision dlantp
        double precision ret
        character norm
        character uplo
        character diag
        integer n
        double precision ap(*)
        double precision work(*)
        ret = dlantp(norm, uplo, diag, n, ap, work)
      end

      subroutine dlantrwrp(ret, norm, uplo, diag, m, n, a, lda, work)
        external dlantr
        double precision dlantr
        double precision ret
        character norm
        character uplo
        character diag
        integer m
        integer n
        double precision a(lda,*)
        integer lda
        double precision work(*)
        ret = dlantr(norm, uplo, diag, m, n, a, lda, work)
      end

      subroutine dlapy2wrp(ret, x, y)
        external dlapy2
        double precision dlapy2
        double precision ret
        double precision x
        double precision y
        ret = dlapy2(x, y)
      end

      subroutine dlapy3wrp(ret, x, y, z)
        external dlapy3
        double precision dlapy3
        double precision ret
        double precision x
        double precision y
        double precision z
        ret = dlapy3(x, y, z)
      end

      subroutine dzsum1wrp(ret, n, cx, incx)
        external dzsum1
        double precision dzsum1
        double precision ret
        integer n
        complex*16 cx(n)
        integer incx
        ret = dzsum1(n, cx, incx)
      end

      subroutine icmax1wrp(ret, n, cx, incx)
        external icmax1
        integer icmax1
        integer ret
        integer n
        complex cx(n)
        integer incx
        ret = icmax1(n, cx, incx)
      end

      subroutine ieeeckwrp(ret, ispec, zero, one)
        external ieeeck
        integer ieeeck
        integer ret
        integer ispec
        real zero
        real one
        ret = ieeeck(ispec, zero, one)
      end

      subroutine izmax1wrp(ret, n, cx, incx)
        external izmax1
        integer izmax1
        integer ret
        integer n
        complex*16 cx(n)
        integer incx
        ret = izmax1(n, cx, incx)
      end

      subroutine scsum1wrp(ret, n, cx, incx)
        external wscsum1
        real wscsum1
        real ret
        integer n
        complex cx(n)
        integer incx
        ret = wscsum1(n, cx, incx)
      end

      subroutine slamchwrp(ret, cmach)
        external wslamch
        real wslamch
        real ret
        character cmach
        ret = wslamch(cmach)
      end

      subroutine slangbwrp(ret, norm, n, kl, ku, ab, ldab, work)
        external wslangb
        real wslangb
        real ret
        character norm
        integer n
        integer kl
        integer ku
        real ab(ldab,*)
        integer ldab
        real work(*)
        ret = wslangb(norm, n, kl, ku, ab, ldab, work)
      end

      subroutine slangewrp(ret, norm, m, n, a, lda, work)
        external wslange
        real wslange
        real ret
        character norm
        integer m
        integer n
        real a(lda,*)
        integer lda
        real work(*)
        ret = wslange(norm, m, n, a, lda, work)
      end

      subroutine slangtwrp(ret, norm, n, dl, d, du)
        external wslangt
        real wslangt
        real ret
        character norm
        integer n
        real dl(*)
        real d(*)
        real du(*)
        ret = wslangt(norm, n, dl, d, du)
      end

      subroutine slanhswrp(ret, norm, n, a, lda, work)
        external wslanhs
        real wslanhs
        real ret
        character norm
        integer n
        real a(lda,*)
        integer lda
        real work(*)
        ret = wslanhs(norm, n, a, lda, work)
      end

      subroutine slansbwrp(ret, norm, uplo, n, k, ab, ldab, work)
        external wslansb
        real wslansb
        real ret
        character norm
        character uplo
        integer n
        integer k
        real ab(ldab,*)
        integer ldab
        real work(*)
        ret = wslansb(norm, uplo, n, k, ab, ldab, work)
      end

      subroutine slanspwrp(ret, norm, uplo, n, ap, work)
        external wslansp
        real wslansp
        real ret
        character norm
        character uplo
        integer n
        real ap(*)
        real work(*)
        ret = wslansp(norm, uplo, n, ap, work)
      end

      subroutine slanstwrp(ret, norm, n, d, e)
        external wslanst
        real wslanst
        real ret
        character norm
        integer n
        real d(*)
        real e(*)
        ret = wslanst(norm, n, d, e)
      end

      subroutine slansywrp(ret, norm, uplo, n, a, lda, work)
        external wslansy
        real wslansy
        real ret
        character norm
        character uplo
        integer n
        real a(lda,*)
        integer lda
        real work(*)
        ret = wslansy(norm, uplo, n, a, lda, work)
      end

      subroutine slantbwrp(ret, norm, uplo, diag, n, k, ab, ldab, work)
        external wslantb
        real wslantb
        real ret
        character norm
        character uplo
        character diag
        integer n
        integer k
        real ab(ldab,*)
        integer ldab
        real work(*)
        ret = wslantb(norm, uplo, diag, n, k, ab, ldab, work)
      end

      subroutine slantpwrp(ret, norm, uplo, diag, n, ap, work)
        external wslantp
        real wslantp
        real ret
        character norm
        character uplo
        character diag
        integer n
        real ap(*)
        real work(*)
        ret = wslantp(norm, uplo, diag, n, ap, work)
      end

      subroutine slantrwrp(ret, norm, uplo, diag, m, n, a, lda, work)
        external wslantr
        real wslantr
        real ret
        character norm
        character uplo
        character diag
        integer m
        integer n
        real a(lda,*)
        integer lda
        real work(*)
        ret = wslantr(norm, uplo, diag, m, n, a, lda, work)
      end

      subroutine slapy2wrp(ret, x, y)
        external wslapy2
        real wslapy2
        real ret
        real x
        real y
        ret = wslapy2(x, y)
      end

      subroutine slapy3wrp(ret, x, y, z)
        external wslapy3
        real wslapy3
        real ret
        real x
        real y
        real z
        ret = wslapy3(x, y, z)
      end

      subroutine zladivwrp(ret, x, y)
        external wzladiv
        complex*16 wzladiv
        complex*16 ret
        complex*16 x
        complex*16 y
        ret = wzladiv(x, y)
      end

      subroutine zlangbwrp(ret, norm, n, kl, ku, ab, ldab, work)
        external zlangb
        double precision zlangb
        double precision ret
        character norm
        integer n
        integer kl
        integer ku
        complex*16 ab(ldab,*)
        integer ldab
        double precision work(*)
        ret = zlangb(norm, n, kl, ku, ab, ldab, work)
      end

      subroutine zlangewrp(ret, norm, m, n, a, lda, work)
        external zlange
        double precision zlange
        double precision ret
        character norm
        integer m
        integer n
        complex*16 a(lda,*)
        integer lda
        double precision work(*)
        ret = zlange(norm, m, n, a, lda, work)
      end

      subroutine zlangtwrp(ret, norm, n, dl, d, du)
        external zlangt
        double precision zlangt
        double precision ret
        character norm
        integer n
        complex*16 dl(*)
        complex*16 d(*)
        complex*16 du(*)
        ret = zlangt(norm, n, dl, d, du)
      end

      subroutine zlanhbwrp(ret, norm, uplo, n, k, ab, ldab, work)
        external zlanhb
        double precision zlanhb
        double precision ret
        character norm
        character uplo
        integer n
        integer k
        complex*16 ab(ldab,*)
        integer ldab
        double precision work(*)
        ret = zlanhb(norm, uplo, n, k, ab, ldab, work)
      end

      subroutine zlanhewrp(ret, norm, uplo, n, a, lda, work)
        external zlanhe
        double precision zlanhe
        double precision ret
        character norm
        character uplo
        integer n
        complex*16 a(lda,*)
        integer lda
        double precision work(*)
        ret = zlanhe(norm, uplo, n, a, lda, work)
      end

      subroutine zlanhpwrp(ret, norm, uplo, n, ap, work)
        external zlanhp
        double precision zlanhp
        double precision ret
        character norm
        character uplo
        integer n
        complex*16 ap(*)
        double precision work(*)
        ret = zlanhp(norm, uplo, n, ap, work)
      end

      subroutine zlanhswrp(ret, norm, n, a, lda, work)
        external zlanhs
        double precision zlanhs
        double precision ret
        character norm
        integer n
        complex*16 a(lda,*)
        integer lda
        double precision work(*)
        ret = zlanhs(norm, n, a, lda, work)
      end

      subroutine zlanhtwrp(ret, norm, n, d, e)
        external zlanht
        double precision zlanht
        double precision ret
        character norm
        integer n
        double precision d(*)
        complex*16 e(*)
        ret = zlanht(norm, n, d, e)
      end

      subroutine zlansbwrp(ret, norm, uplo, n, k, ab, ldab, work)
        external zlansb
        double precision zlansb
        double precision ret
        character norm
        character uplo
        integer n
        integer k
        complex*16 ab(ldab,*)
        integer ldab
        double precision work(*)
        ret = zlansb(norm, uplo, n, k, ab, ldab, work)
      end

      subroutine zlanspwrp(ret, norm, uplo, n, ap, work)
        external zlansp
        double precision zlansp
        double precision ret
        character norm
        character uplo
        integer n
        complex*16 ap(*)
        double precision work(*)
        ret = zlansp(norm, uplo, n, ap, work)
      end

      subroutine zlansywrp(ret, norm, uplo, n, a, lda, work)
        external zlansy
        double precision zlansy
        double precision ret
        character norm
        character uplo
        integer n
        complex*16 a(lda,*)
        integer lda
        double precision work(*)
        ret = zlansy(norm, uplo, n, a, lda, work)
      end

      subroutine zlantbwrp(ret, norm, uplo, diag, n, k, ab, ldab, work)
        external zlantb
        double precision zlantb
        double precision ret
        character norm
        character uplo
        character diag
        integer n
        integer k
        complex*16 ab(ldab,*)
        integer ldab
        double precision work(*)
        ret = zlantb(norm, uplo, diag, n, k, ab, ldab, work)
      end

      subroutine zlantpwrp(ret, norm, uplo, diag, n, ap, work)
        external zlantp
        double precision zlantp
        double precision ret
        character norm
        character uplo
        character diag
        integer n
        complex*16 ap(*)
        double precision work(*)
        ret = zlantp(norm, uplo, diag, n, ap, work)
      end

      subroutine zlantrwrp(ret, norm, uplo, diag, m, n, a, lda, work)
        external zlantr
        double precision zlantr
        double precision ret
        character norm
        character uplo
        character diag
        integer m
        integer n
        complex*16 a(lda,*)
        integer lda
        double precision work(*)
        ret = zlantr(norm, uplo, diag, m, n, a, lda, work)
      end