forked from johannesgerer/jburkardt-m
-
Notifications
You must be signed in to change notification settings - Fork 0
/
i4lib.html
1605 lines (1577 loc) · 51.6 KB
/
i4lib.html
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
<html>
<head>
<title>
I4LIB - A Single Precision Integer Arithmetic Utility Library
</title>
</head>
<body bgcolor="#EEEEEE" link="#CC0000" alink="#FF3300" vlink="#000055">
<h1 align = "center">
I4LIB <br> A Single Precision Integer Arithmetic Utility Library
</h1>
<hr>
<p>
<b>I4LIB</b>
is a MATLAB library which
contains many utility routines for "I4" or "single precision integer"
arithmetic.
</p>
<h3 align = "center">
Licensing:
</h3>
<p>
The computer code and data files made available on this web page
are distributed under
<a href = "../../txt/gnu_lgpl.txt">the GNU LGPL license.</a>
</p>
<h3 align = "center">
Languages:
</h3>
<p>
<b>I4LIB</b> is available in
<a href = "../../c_src/i4lib/i4lib.html">a C version</a> and
<a href = "../../cpp_src/i4lib/i4lib.html">a C++ version</a> and
<a href = "../../f77_src/i4lib/i4lib.html">a FORTRAN77 version</a> and
<a href = "../../f_src/i4lib/i4lib.html">a FORTRAN90 version</a> and
<a href = "../../m_src/i4lib/i4lib.html">a MATLAB version</a> and
<a href = "../../py_src/i4lib/i4lib.html">a Python version</a>.
</p>
<h3 align = "center">
Related Programs:
</h3>
<p>
<a href = "../../m_src/c4lib/c4lib.html">
C4LIB</a>,
a MATLAB library which
implements certain elementary functions for
single precision complex (C4) variables.
</p>
<p>
<a href = "../../m_src/c8lib/c8lib.html">
C8LIB</a>,
a MATLAB library which
implements certain elementary functions for "C8"
or double precision complex variables;
</p>
<p>
<a href = "../../m_src/r8lib/r8lib.html">
R8LIB</a>,
a MATLAB library which
contains many utility routines, using "R8" or
"double precision real" arithmetic.
</p>
<p>
<a href = "../../m_src/subpak/subpak.html">
SUBPAK</a>,
a MATLAB library which
contains many utility routines;
</p>
<h3 align = "center">
Reference:
</h3>
<p>
<ol>
<li>
Milton Abramowitz, Irene Stegun,<br>
Handbook of Mathematical Functions,<br>
National Bureau of Standards, 1964,<br>
ISBN: 0-486-61272-4,<br>
LC: QA47.A34.
</li>
<li>
Thomas Cormen, Charles Leiserson, Ronald Rivest,<br>
Introduction to Algorithms,<br>
MIT Press, 2001,<br>
ISBN: 0262032937,<br>
LC: QA76.C662.
</li>
<li>
Albert Nijenhuis, Herbert Wilf,<br>
Combinatorial Algorithms for Computers and Calculators,<br>
Second Edition,<br>
Academic Press, 1978,<br>
ISBN: 0-12-519260-6,<br>
LC: QA164.N54.
</li>
</ol>
</p>
<h3 align = "center">
Source Code:
</h3>
<p>
<ul>
<li>
<a href = "get_seed.m">get_seed.m</a>,
returns a random seed for the random number generator.
</li>
<li>
<a href = "i4_abs.m">i4_abs.m</a>,
returns the absolute value of an I4;
</li>
<li>
<a href = "i4_abs_test.m">i4_abs_test.m</a>
</li>
<li>
<a href = "i4_bit_hi1.m">i4_bit_hi1.m</a>,
returns the location of the highest 1 bit in an I4;
</li>
<li>
<a href = "i4_bit_hi1_test.m">i4_bit_hi1_test.m</a>
</li>
<li>
<a href = "i4_bit_lo0.m">i4_bit_lo0.m</a>,
returns the location of the lowest 0 bit in an I4;
</li>
<li>
<a href = "i4_bit_lo0_test.m">i4_bit_lo0_test.m</a>
</li>
<li>
<a href = "i4_bit_lo1.m">i4_bit_lo1.m</a>,
returns the location of the lowest 1 bit in an I4;
</li>
<li>
<a href = "i4_bit_lo1_test.m">i4_bit_lo1_test.m</a>
</li>
<li>
<a href = "i4_bit_reverse.m">i4_bit_reverse.m</a>,
reverses the bits of an I4.
</li>
<li>
<a href = "i4_bit_reverse_test.m">i4_bit_reverse_test.m</a>
</li>
<li>
<a href = "i4_ceiling.m">i4_ceiling.m</a>,
rounds an R8 up to the nearest I4;
</li>
<li>
<a href = "i4_ceiling_test.m">i4_ceiling_test.m</a>
</li>
<li>
<a href = "i4_characteristic.m">i4_characteristic.m</a>,
gives the characteristic for an I4;
</li>
<li>
<a href = "i4_characteristic_test.m">i4_characteristic_test.m</a>
</li>
<li>
<a href = "i4_choose.m">i4_choose.m</a>,
computes the binomial coefficient C(N,K) as an I4;
</li>
<li>
<a href = "i4_choose_test.m">i4_choose_test.m</a>
</li>
<li>
<a href = "i4_div_rounded.m">i4_div_rounded.m</a>,
computes the rounded result of I4 division.
</li>
<li>
<a href = "i4_div_rounded_test.m">i4_div_rounded_test.m</a>
</li>
<li>
<a href = "i4_division.m">i4_division.m</a>,
computes the rounded result of I4 division.
</li>
<li>
<a href = "i4_divp.m">i4_divp.m</a>,
returns the smallest multiple of J greater than or equal to an I4;
</li>
<li>
<a href = "i4_divp_test.m">i4_divp_test.m</a>
</li>
<li>
<a href = "i4_factorial.m">i4_factorial.m</a>,
computes N! as an I4;
</li>
<li>
<a href = "i4_factorial2.m">i4_factorial2.m</a>,
computes the double factorial as an I4;
</li>
<li>
<a href = "i4_factorial2_test.m">i4_factorial2_test.m</a>
</li>
<li>
<a href = "i4_factorial2_values.m">i4_factorial2_values.m</a>,
returns selected values of the double factorial function..
</li>
<li>
<a href = "i4_fall.m">i4_fall.m</a>,
computes a falling factorial as an I4.
</li>
<li>
<a href = "i4_fall_values.m">i4_fall_values.m</a>,
returns selected values of the falling factorial function..
</li>
<li>
<a href = "i4_fall_test.m">i4_fall_test.m</a>
</li>
<li>
<a href = "i4_floor.m">i4_floor.m</a>,
computes the "floor" of an I4.
</li>
<li>
<a href = "i4_floor_test.m">i4_floor_test.m</a>
</li>
<li>
<a href = "i4_fraction.m">i4_fraction.m</a>,
computes a ratio and returns an I4 result.
</li>
<li>
<a href = "i4_gcd.m">i4_gcd.m</a>,
returns the greatest common divisor of two I4's;
</li>
<li>
<a href = "i4_gcd_test.m">i4_gcd_test.m</a>
</li>
<li>
<a href = "i4_gcdb.m">i4_gcdb.m</a>,
returns the greatest common divisor of the form K^N of two I4's;
</li>
<li>
<a href = "i4_huge.m">i4_huge.m</a>,
returns a huge I4;
</li>
<li>
<a href = "i4_huge_test.m">i4_huge_test.m</a>
</li>
<li>
<a href = "i4_huge_normalizer.m">i4_huge_normalizer.m</a>,
returns the "normalizer" for I4_HUGE.
</li>
<li>
<a href = "i4_huge_normalizer_test.m">i4_huge_normalizer_test.m</a>
</li>
<li>
<a href = "i4_is_even.m">i4_is_even.m</a>,
is TRUE if an I4 is even;
</li>
<li>
<a href = "i4_is_even_test.m">i4_is_even_test.m</a>
</li>
<li>
<a href = "i4_is_odd.m">i4_is_odd.m</a>,
is TRUE if an I4 is odd;
</li>
<li>
<a href = "i4_is_odd_test.m">i4_is_odd_test.m</a>
</li>
<li>
<a href = "i4_is_power_of_2.m">i4_is_power_of_2.m</a>,
returns TRUE if an I4 is a power of 2;
</li>
<li>
<a href = "i4_is_prime.m">i4_is_prime.m</a>,
returns TRUE if an I4 is prime number;
</li>
<li>
<a href = "i4_is_prime_test.m">i4_is_prime_test.m</a>
</li>
<li>
<a href = "i4_lcm.m">i4_lcm.m</a>,
returns the least common multiple of two I4's;
</li>
<li>
<a href = "i4_lcm_test.m">i4_lcm_test.m</a>
</li>
<li>
<a href = "i4_log_2.m">i4_log_2.m</a>,
returns the integer part of the logarithm base 2 of an I4;
</li>
<li>
<a href = "i4_log_2_test.m">i4_log_2_test.m</a>
</li>
<li>
<a href = "i4_log_10.m">i4_log_10.m</a>,
returns the integer part of the logarithm base 10 of an I4;
</li>
<li>
<a href = "i4_log_10_test.m">i4_log_10_test.m</a>
</li>
<li>
<a href = "i4_log_i4.m">i4_log_i4.m</a>,
logarithm of an I4 to an I4 base;
</li>
<li>
<a href = "i4_log_i4_test.m">i4_log_i4_test.m</a>
</li>
<li>
<a href = "i4_log_r8.m">i4_log_r8.m</a>,
logarithm of an I4 to an R8 base;
</li>
<li>
<a href = "i4_log_r8_test.m">i4_log_r8_test.m</a>
</li>
<li>
<a href = "i4_mant.m">i4_mant.m</a>,
returns the mantissa of a real number as an I4;
</li>
<li>
<a href = "i4_mant_test.m">i4_mant_test.m</a>
</li>
<li>
<a href = "i4_max.m">i4_max.m</a>,
returns the maximum of two I4's;
</li>
<li>
<a href = "i4_max_test.m">i4_max_test.m</a>
</li>
<li>
<a href = "i4_min.m">i4_min.m</a>,
returns the minimum of two I4's;
</li>
<li>
<a href = "i4_min_test.m">i4_min_test.m</a>
</li>
<li>
<a href = "i4_mod_inv.m">i4_mod_inv.m</a>,
computes the inverse of an I4 modulo another I4.
</li>
<li>
<a href = "i4_moddiv.m">i4_moddiv.m</a>,
breaks an I4 into a multiple of a divisor and a remainder;
</li>
<li>
<a href = "i4_moddiv_test.m">i4_moddiv_test.m</a>
</li>
<li>
<a href = "i4_modp.m">i4_modp.m</a>,
returns the nonnegative remainder of I4 division;
</li>
<li>
<a href = "i4_modp_test.m">i4_modp_test.m</a>
</li>
<li>
<a href = "i4_power.m">i4_power.m</a>,
returns the value of the J-th power of an I4;
</li>
<li>
<a href = "i4_rise.m">i4_rise.m</a>,
computes a rising factorial as an I4;
</li>
<li>
<a href = "i4_rise_test.m">i4_rise_test.m</a>
</li>
<li>
<a href = "i4_rise_values.m">i4_rise_values.m</a>,
returns selected values of the rising factorial function;
</li>
<li>
<a href = "i4_sign.m">i4_sign.m</a>,
returns the sign of an I4.
</li>
<li>
<a href = "i4_sign_test.m">i4_sign_test.m</a>
</li>
<li>
<a href = "i4_sign3.m">i4_sign3.m</a>,
returns the three-way sign of an I4.
</li>
<li>
<a href = "i4_sign3_test.m">i4_sign3_test.m</a>
</li>
<li>
<a href = "i4_swap.m">i4_swap.m</a>,
swaps two I4's.
</li>
<li>
<a href = "i4_swap3.m">i4_swap3.m</a>,
swaps three I4's;
</li>
<li>
<a href = "i4_to_angle.m">i4_to_angle.m</a>,
maps I4's to points on a circle;
</li>
<li>
<a href = "i4_to_digits_binary.m">i4_to_digits_binary.m</a>,
determines the last N binary digits of an I4;
</li>
<li>
<a href = "i4_to_digits_decimal.m">i4_to_digits_decimal.m</a>,
determines the last N decimal digits of an I4;
</li>
<li>
<a href = "i4_to_fac.m">i4_to_fac.m</a>,
converts an I4 into a product of prime factors;
</li>
<li>
<a href = "i4_to_halton.m">i4_to_halton.m</a>,
converts an I4 to the I-th Halton number;
</li>
<li>
<a href = "i4_to_isbn.m">i4_to_isbn.m</a>,
converts an I4 to its ISBN representation;
</li>
<li>
<a href = "i4_to_l4.m">i4_to_l4.m</a>,
converts an I4 to an L4;
</li>
<li>
<a href = "i4_to_pascal.m">i4_to_pascal.m</a>,
converts an I4 to a pair of indices in Pascal's triangle;
</li>
<li>
<a href = "i4_to_pascal_test.m">i4_to_pascal_test.m</a>
</li>
<li>
<a href = "i4_to_pascal_degree.m">i4_to_pascal_degree.m</a>,
converts an I4 to the degree (sum) of the corresponding pair
of indices in Pascal's triangle;
</li>
<li>
<a href = "i4_to_pascal_degree_test.m">i4_to_pascal_degree_test.m</a>
</li>
<li>
<a href = "i4_to_triangle.m">i4_to_triangle.m</a>,
converts an I4 to a pair of indices in a triangle;
</li>
<li>
<a href = "i4_to_triangle_test.m">i4_to_triangle_test.m</a>
</li>
<li>
<a href = "i4_uniform_ab.m">i4_uniform_ab.m</a>,
returns a pseudorandom I4 between A and B;
</li>
<li>
<a href = "i4_unswap3.m">i4_unswap3.m</a>,
unswaps three I4's;
</li>
<li>
<a href = "i4_walsh_1d.m">i4_walsh_1d.m</a>,
evaluates the Walsh function;
</li>
<li>
<a href = "i4_width.m">i4_width.m</a>,
returns the printing "width" of an I4;
</li>
<li>
<a href = "i4_wrap.m">i4_wrap.m</a>,
forces an I4 to lie between given limits;
</li>
<li>
<a href = "i4_xor.m">i4_xor.m</a>,
returns the exclusive OR of two I4's;
</li>
<li>
<a href = "i4block_print.m">i4block_print.m</a>,
prints an I4BLOCK;
</li>
<li>
<a href = "i4col_compare.m">i4col_compare.m</a>,
compares two columns of an I4COL;
</li>
<li>
<a href = "i4col_find.m">i4col_find.m</a>,
searches an I4COL for a given column vector;
</li>
<li>
<a href = "i4col_find_item.m">i4col_find_item.m</a>,
searches an I4COL for a given scalar value;
</li>
<li>
<a href = "i4col_find_pair_wrap.m">i4col_find_pair_wrap.m</a>,
wrap-searches an I4COL for a pair of values;
</li>
<li>
<a href = "i4col_first_index.m">i4col_first_index.m</a>,
indexes the first occurrence of values in an I4COL.
</li>
<li>
<a href = "i4col_sort_a.m">i4col_sort_a.m</a>,
ascending sorts the columns of an I4COL;
</li>
<li>
<a href = "i4col_sort2_a.m">i4col_sort2_a.m</a>,
ascending sorts the elements of each column of an I4COL;
</li>
<li>
<a href = "i4col_sort_d.m">i4col_sort_d.m</a>,
descending sorts the columns of an I4COL;
</li>
<li>
<a href = "i4col_sorted_singleton_count.m">
i4col_sorted_singleton_count.m</a>,
counts the number of singletons in a sorted I4COL;
</li>
<li>
<a href = "i4col_sorted_unique.m">i4col_sorted_unique.m</a>,
returns the unique elements in a sorted I4COL;
</li>
<li>
<a href = "i4col_sorted_unique_count.m">i4col_sorted_unique_count.m</a>,
counts the number of unique elements in a sorted I4COL;
</li>
<li>
<a href = "i4col_swap.m">
i4col_swap.m</a>,
swaps two columns of an I4COL;
</li>
<li>
<a href = "i4i4_sort_a.m">
i4i4_sort_a.m</a>,
ascending sorts a pair of integers;
</li>
<li>
<a href = "i4i4i4_sort_a.m">
i4i4i4_sort_a.m</a>,
ascending sorts a triple of integers;
</li>
<li>
<a href = "i4int_to_r8int.m">
i4int_to_r8int.m</a>,
maps an I4 interval to an R8 interval;
</li>
<li>
<a href = "i4list_print.m">i4list_print.m</a>,
prints an I4LIST.
</li>
<li>
<a href = "i4mat_border_add.m">i4mat_border_add.m</a>,
adds a "border" to an I4MAT.
</li>
<li>
<a href = "i4mat_border_cut.m">i4mat_border_cut.m</a>,
cuts the "border" of an I4MAT.
</li>
<li>
<a href = "i4mat_elim.m">i4mat_elim.m</a>,
performs exact Gauss elimination on an I4MAT;
</li>
<li>
<a href = "i4mat_flip_cols.m">i4mat_flip_cols.m</a>,
flips the columns in an I4MAT;
</li>
<li>
<a href = "i4mat_flip_rows.m">i4mat_flip_rows.m</a>,
flips the rows in an I4MAT;
</li>
<li>
<a href = "i4mat_histogram.m">i4mat_histogram.m</a>,
returns a histogram of the entries of an I4MAT;
</li>
<li>
<a href = "i4mat_l1_inverse.m">i4mat_l1_inverse.m</a>,
returns the inverse of a unit lower triangular I4MAT;
</li>
<li>
<a href = "i4mat_max_index.m">i4mat_max_index.m</a>,
returns the location of the maximum element of an I4MAT;
</li>
<li>
<a href = "i4mat_min_index.m">i4mat_min_index.m</a>,
returns the location of the minimum element of an I4MAT;
</li>
<li>
<a href = "i4mat_perm.m">i4mat_perm.m</a>,
applies a permutation to the rows and columns of an I4MAT;
</li>
<li>
<a href = "i4mat_perm_uniform.m">i4mat_perm_uniform.m</a>,
selects a random permutation of an I4MAT;
</li>
<li>
<a href = "i4mat_perm2.m">i4mat_perm2.m</a>,
applies a row and a column permutation to an I4MAT;
</li>
<li>
<a href = "i4mat_perm2_uniform.m">i4mat_perm2_uniform.m</a>,
selects random row and column permutations of an I4MAT;
</li>
<li>
<a href = "i4mat_print.m">i4mat_print.m</a>,
prints an I4MAT;
</li>
<li>
<a href = "i4mat_print_some.m">i4mat_print_some.m</a>,
prints some of an I4MAT;
</li>
<li>
<a href = "i4mat_red.m">i4mat_red.m</a>,
divides out common factors iin a row or column of an I4MAT;
</li>
<li>
<a href = "i4mat_transpose_print.m">i4mat_transpose_print.m</a>,
prints an I4MAT, transposed;
</li>
<li>
<a href = "i4mat_transpose_print_some.m">
i4mat_transpose_print_some.m</a>,
prints some of an I4MAT, transposed;
</li>
<li>
<a href = "i4mat_u1_inverse.m">i4mat_u1_inverse.m</a>,
returns the inverse of a unit upper triangular I4MAT;
</li>
<li>
<a href = "i4mat_uniform_ab.m">i4mat_uniform_ab.m</a>,
returns an I4MAT of pseudorandom values;
</li>
<li>
<a href = "i4row_compare.m">i4row_compare.m</a>,
compares two rows of an I4ROW.
</li>
<li>
<a href = "i4row_find_item.m">i4row_find_item.m</a>,
searches the rows of an I4ROW for a given value.
</li>
<li>
<a href = "i4row_find_pair_wrap.m">i4row_find_pair_wrap.m</a>,
searches the rows of an I4ROW for a given pair of values.
</li>
<li>
<a href = "i4row_max.m">i4row_max.m</a>,
returns the row maximums of an I4ROW.
</li>
<li>
<a href = "i4row_mean.m">i4row_mean.m</a>,
returns the row means of an I4ROW.
</li>
<li>
<a href = "i4row_min.m">i4row_min.m</a>,
returns the row minimums of an I4ROW.
</li>
<li>
<a href = "i4row_sort_a.m">i4row_sort_a.m</a>,
ascending sorts the rows of an I4ROW.
</li>
<li>
<a href = "i4row_sort_d.m">i4row_sort_d.m</a>,
descending sorts the rows of an I4ROW.
</li>
<li>
<a href = "i4row_sort2_d.m">i4row_sort2_d.m</a>,
descending sorts the rows of an I4ROW.
</li>
<li>
<a href = "i4row_sorted_unique.m">i4row_sorted_unique.m</a>,
returns the unique rows of an I4ROW.
</li>
<li>
<a href = "i4row_sorted_unique_count.m">i4row_sorted_unique_count.m</a>,
counts the unique rows of an I4ROW.
</li>
<li>
<a href = "i4row_sum.m">i4row_sum.m</a>,
returns the row sums of an I4ROW.
</li>
<li>
<a href = "i4row_swap.m">i4row_swap.m</a>,
swaps two rows of an I4ROW.
</li>
<li>
<a href = "i4row_variance.m">i4row_variance.m</a>,
returns the row variances of an I4ROW.
</li>
<li>
<a href = "i4vec_add.m">i4vec_add.m</a>,
returns C = A + B for I4VEC's.
</li>
<li>
<a href = "i4vec_amax.m">i4vec_amax.m</a>,
returns the maximum absolute value of an entry in an I4VEC;
</li>
<li>
<a href = "i4vec_amax_index.m">i4vec_amax_index.m</a>,
returns the index of the maximum absolute value
of an entry in an I4VEC;
</li>
<li>
<a href = "i4vec_amin.m">i4vec_amin.m</a>,
returns the minimum absolute value of an entry in an I4VEC;
</li>
<li>
<a href = "i4vec_amin_index.m">i4vec_amin_index.m</a>,
returns the index of the minimum absolute value
of an entry in an I4VEC;
</li>
<li>
<a href = "i4vec_aminz.m">i4vec_aminz.m</a>,
returns the minimum nonzero absolute value of an entry in an
I4VEC;
</li>
<li>
<a href = "i4vec_aminz_index.m">i4vec_aminz_index.m</a>,
returns the index of the minimum nonzero absolute value
of an entry in an I4VEC;
</li>
<li>
<a href = "i4vec_any_lt.m">i4vec_any_lt.m</a>,
returns TRUE if any A is less than B, for I4VEC's.
</li>
<li>
<a href = "i4vec_any_negative.m">
i4vec_any_negative.m</a>,
is true if any entry of an I4VEC is negative;
</li>
<li>
<a href = "i4vec_any_nonzero.m">
i4vec_any_nonzero.m</a>,
is true if any entry of an I4VEC is nonzero;
</li>
<li>
<a href = "i4vec_ascend_sub.m">i4vec_ascend_sub.m</a>,
returns the longest ascending subsequence of an I4VEC;
</li>
<li>
<a href = "i4vec_ascends.m">i4vec_ascends.m</a>,
returns TRUE if an I4VEC is ascending;
</li>
<li>
<a href = "i4vec_bracket.m">i4vec_bracket.m</a>,
searches a sorted I4VEC for successive brackets of a value;
</li>
<li>
<a href = "i4vec_compare.m">i4vec_compare.m</a>,
compares two I4VEC's;
</li>
<li>
<a href = "i4vec_concatenate.m">i4vec_concatenate.m</a>,
concatenates two I4VEC's;
</li>
<li>
<a href = "i4vec_cum.m">i4vec_cum.m</a>,
returns the cumulative sums of an I4VEC;
</li>
<li>
<a href = "i4vec_cum0.m">i4vec_cum0.m</a>,
returns the cumulative sums of an I4VEC;
</li>
<li>
<a href = "i4vec_decrement.m">i4vec_decrement.m</a>,
decrements an I4VEC;
</li>
<li>
<a href = "i4vec_descends.m">i4vec_descends.m</a>,
returns TRUE if an I4VEC is descending;
</li>
<li>
<a href = "i4vec_direct_product.m">i4vec_direct_product.m</a>,
forms the elements of the direct product of I4VEC's.
</li>
<li>
<a href = "i4vec_direct_product2.m">i4vec_direct_product2.m</a>,
forms the elements of the direct product of I4VEC's.
</li>
<li>
<a href = "i4vec_dot_product.m">i4vec_dot_product.m</a>,
computes the dot product of two I4VEC's.
</li>
<li>
<a href = "i4vec_eq.m">i4vec_eq.m</a>,
is TRUE if two I4VEC's are equal.
</li>
<li>
<a href = "i4vec_even_all.m">i4vec_even_all.m</a>,
is TRUE if all entries of an I4VEC are even.
</li>
<li>
<a href = "i4vec_even_any.m">i4vec_even_any.m</a>,
is TRUE if any entries of an I4VEC are even.
</li>
<li>
<a href = "i4vec_find.m">i4vec_find.m</a>,
indexes the first occurrence of a specific value in an I4VEC.
</li>
<li>
<a href = "i4vec_first_index.m">i4vec_first_index.m</a>,
indexes the first occurrence of values in an I4VEC.
</li>
<li>
<a href = "i4vec_frac.m">i4vec_frac.m</a>,
finds the K-th smallest entry of an I4VEC;
</li>
<li>
<a href = "i4vec_gcd.m">i4vec_gcd.m</a>,
returns the greatest common divisor of the entries of an
I4VEC;
</li>
<li>
<a href = "i4vec_heap_a.m">i4vec_heap_a.m</a>,
sets an I4VEC to a ascending heap;
</li>
<li>
<a href = "i4vec_heap_d.m">i4vec_heap_d.m</a>,
sets an I4VEC to a descending heap;
</li>
<li>
<a href = "i4vec_heap_d_delete.m">i4vec_heap_d_delete.m</a>,
extracts the maximum value from a descending heap.
</li>
<li>
<a href = "i4vec_heap_d_insert.m">i4vec_heap_d_insert.m</a>,
inserts a new value into a descending heap.
</li>
<li>
<a href = "i4vec_heap_d_max.m">i4vec_heap_d_max.m</a>,
returns the maximum value in a descending heap of integers.
</li>
<li>
<a href = "i4vec_histogram.m">i4vec_histogram.m</a>,
returns a histogram of the entries of an I4VEC;
</li>
<li>
<a href = "i4vec_histogram_masked.m">i4vec_histogram_masked.m</a>,
returns a histogram of a masked I4VEC;
</li>
<li>
<a href = "i4vec_imin.m">i4vec_imin.m</a>,
returns the index of the minimum entry in an I4VEC.
</li>
<li>
<a href = "i4vec_increment.m">i4vec_increment.m</a>,
increments an I4VEC;
</li>
<li>
<a href = "i4vec_index.m">i4vec_index.m</a>,
returns the first location of a given value in an I4VEC.
</li>
<li>
<a href = "i4vec_index_delete_all.m">i4vec_index_delete_all.m</a>,
deletes all occurrences of a value from an indexed sorted list;
</li>
<li>
<a href = "i4vec_index_delete_dupes.m">i4vec_index_delete_dupes.m</a>,
deletes duplicates from an indexed sorted list.
</li>
<li>
<a href = "i4vec_index_delete_one.m">i4vec_index_delete_one.m</a>,
deletes one copy of a value from an indexed sorted list.
</li>
<li>
<a href = "i4vec_index_insert.m">i4vec_index_insert.m</a>,
inserts a value in an indexed sorted list.
</li>
<li>
<a href = "i4vec_index_insert_unique.m">i4vec_index_insert_unique.m</a>,
inserts a unique value in an indexed sorted list.
</li>
<li>
<a href = "i4vec_index_order.m">i4vec_index_order.m</a>,
sorts an integer vector using an index vector.
</li>
<li>
<a href = "i4vec_index_search.m">i4vec_index_search.m</a>,
searches for a value in an indexed sorted list.
</li>
<li>
<a href = "i4vec_indexed_heap_d.m">i4vec_indexed_heap_d.m</a>,
creates a descending heap from an indexed I4VEC.
</li>
<li>
<a href = "i4vec_indexed_heap_d_extract.m">i4vec_indexed_heap_d_extract.m</a>,
extracts from heap descending indexed I4VEC.
</li>
<li>
<a href = "i4vec_indexed_heap_d_insert.m">i4vec_indexed_heap_d_insert.m</a>,
inserts value into heap descending indexed I4VEC.
</li>
<li>
<a href = "i4vec_indexed_heap_d_max.m">i4vec_indexed_heap_d_max.m</a>,
maximum value in heap descending indexed I4VEC.
</li>
<li>
<a href = "i4vec_indicator0.m">i4vec_indicator0.m</a>,
sets an I4VEC to the indicator vector.
</li>
<li>
<a href = "i4vec_indicator0_test.m">i4vec_indicator0_test.m</a>
</li>
<li>
<a href = "i4vec_indicator1.m">i4vec_indicator1.m</a>,
sets an I4VEC to the indicator vector.
</li>
<li>
<a href = "i4vec_indicator1_test.m">i4vec_indicator1_test.m</a>
</li>
<li>
<a href = "i4vec_insert.m">i4vec_insert.m</a>,
inserts a value at a particular location in an I4VEC.
</li>
<li>
<a href = "i4vec_lcm.m">i4vec_lcm.m</a>,
returns the lowest common multiple of the entries of an I4VEC;
</li>
<li>
<a href = "i4vec_mask_print.m">i4vec_mask_print.m</a>,
prints a masked I4VEC;
</li>
<li>
<a href = "i4vec_max.m">i4vec_max.m</a>,
returns the maximum entry in an I4VEC;
</li>
<li>
<a href = "i4vec_max_index.m">i4vec_max_index.m</a>,
returns the index of the maximum entry in an I4VEC;
</li>
<li>
<a href = "i4vec_max_index_last.m">i4vec_max_index_last.m</a>,
returns the index of the last maximum entry in an I4VEC;
</li>
<li>
<a href = "i4vec_mean.m">i4vec_mean.m</a>,
returns the mean of an I4VEC;
</li>
<li>
<a href = "i4vec_median.m">i4vec_median.m</a>,
returns the median of an I4VEC;
</li>
<li>
<a href = "i4vec_merge_a.m">i4vec_merge_a.m</a>,
merges two ascending-sorted I4VEC's;
</li>
<li>
<a href = "i4vec_min.m">i4vec_min.m</a>,
returns the minimum entry in an I4VEC;
</li>
<li>
<a href = "i4vec_min_index.m">i4vec_min_index.m</a>,
returns the index of the minimum entry in an I4VEC;
</li>
<li>
<a href = "i4vec_min_mv.m">i4vec_min_mv.m</a>,
determines U(1:N) /\ V for vectors U and a single vector V.
</li>
<li>
<a href = "i4vec_negone.m">i4vec_negone.m</a>,
returns an I4VEC of -1's;
</li>
<li>
<a href = "i4vec_nonzero_count.m">i4vec_nonzero_count.m</a>,
counts the nonzero entries in an I4VEC;
</li>
<li>
<a href = "i4vec_nonzero_first.m">i4vec_nonzero_first.m</a>,
left shifts the nonzero entries in an I4VEC;
</li>
<li>
<a href = "i4vec_norm_l0.m">i4vec_norm_l0.m</a>,
returns the l0 "norm" of an I4VEC;
</li>
<li>
<a href = "i4vec_odd_all.m">i4vec_odd_all.m</a>,
is TRUE if all entries of an I4VEC are odd.
</li>
<li>
<a href = "i4vec_odd_any.m">i4vec_odd_any.m</a>,
is TRUE if any entries of an I4VEC are odd.
</li>
<li>
<a href = "i4vec_one.m">i4vec_one.m</a>,
returns an I4VEC of 1's;
</li>
<li>
<a href = "i4vec_order_type.m">i4vec_order_type.m</a>,
determines if an I4VEC is (non)strictly ascending/descending;
</li>
<li>
<a href = "i4vec_pairwise_prime.m">i4vec_pairwise_prime.m</a>,
is TRUE if the entries of an I4VEC are pairwise prime;
</li>
<li>
<a href = "i4vec_part.m">i4vec_part.m</a>,
partitions an integer into N nearly equal parts;
</li>
<li>
<a href = "i4vec_part_quick_a.m">i4vec_part_quick_a.m</a>,
reorders an I4VEC as part of a quicksort;
</li>
<li>
<a href = "i4vec_permute.m">i4vec_permute.m</a>,
permutes an I4VEC in place;
</li>
<li>
<a href = "i4vec_permute_test.m">i4vec_permute_test.m</a>
</li>
<li>