-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathchrpak.html
843 lines (820 loc) · 25.9 KB
/
chrpak.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
<html>
<head>
<title>
CHRPAK - Characters and Strings
</title>
</head>
<body bgcolor="#EEEEEE" link="#CC0000" alink="#FF3300" vlink="#000055">
<h1 align = "center">
CHRPAK <br> Characters and Strings
</h1>
<hr>
<p>
<b>CHRPAK</b>
is a MATLAB library which
can handle characters and strings.
</p>
<p>
<b>CHRPAK</b> began when I simply wanted to be able to capitalize
a string. Now it has expanded to a number of interesting uses.
Many unusual situations are
provided for, including
<ul>
<li>
string '31.2' <=> numeric value 31.2;
</li>
<li>
uppercase <=> lowercase;
</li>
<li>
removal of control characters or blanks;
</li>
<li>
sorting, merging, searching.
</li>
</ul>
</p>
<p>
Many of the routine names begin with the name of the data type they
operate on:
<ul>
<li>
<b>B4</b> - a 4 byte word;
</li>
<li>
<b>CH</b> - a character;
</li>
<li>
<b>CHVEC</b> - a vector of characters;
</li>
<li>
<b>DEC</b> - a decimal fraction;
</li>
<li>
<b>DIGIT</b> - a character representing a numeric digit;
</li>
<li>
<b>I4</b> - an integer;
</li>
<li>
<b>R4</b> - a single precision real;
</li>
<li>
<b>R8</b> - a double precision real;
</li>
<li>
<b>RAT</b> - a ratio I/J;
</li>
<li>
<b>S</b> - a string;
</li>
<li>
<b>SVEC</b> - a vector of strings;
</li>
<li>
<b>SVECI</b> - a vector of strings, implicitly capitalized;
</li>
</ul>
</p>
<h3 align = "center">
Licensing:
</h3>
<p>
The computer code and data files described and 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>CHRPAK</b> is available in
<a href = "../../c_src/chrpak/chrpak.html">a C version</a> and
<a href = "../../cpp_src/chrpak/chrpak.html">a C++ version</a> and
<a href = "../../f77_src/chrpak/chrpak.html">a FORTRAN77 version</a> and
<a href = "../../f_src/chrpak/chrpak.html">a FORTRAN90 version</a> and
<a href = "../../m_src/chrpak/chrpak.html">a MATLAB version</a>.
</p>
<h3 align = "center">
Reference:
</h3>
<p>
<ol>
<li>
Carl Branden, John Tooze,<br>
Introduction to Protein Structure,<br>
Second Edition,<br>
Garland Publishing, 1999,<br>
ISBN: 0815323050,<br>
LC: QP551.B7635.
</li>
<li>
Paul Bratley, Bennett Fox, Linus Schrage,<br>
A Guide to Simulation,<br>
Second Edition,<br>
Springer, 1987,<br>
ISBN: 0387964673,<br>
LC: QA76.9.C65.B73.
</li>
<li>
IEEE Standards Committee 754,<br>
IEEE Standard for Binary Floating Point Arithmetic,<br>
ANSI/IEEE Standard 754-1985,<br>
SIGPLAN Notices,<br>
Volume 22, Number 2, 1987, pages 9-25.
</li>
<li>
Donald Knuth,<br>
The Art of Computer Programming,<br>
Volume 3, Sorting and Searching,<br>
Second Edition,<br>
Addison Wesley, 1998,<br>
ISBN: 0201896850,<br>
LC: QA76.6.K64.
</li>
<li>
Albert Nijenhuis, Herbert Wilf,<br>
Combinatorial Algorithms for Computers and Calculators,<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 = "a_to_i4.m">a_to_i4.m</a>
returns the index of an alphabetic character;
</li>
<li>
<a href = "base_to_i4.m">base_to_i4.m</a>
returns the value of an integer represented in some base;
</li>
<li>
<a href = "binary_to_i4.m">binary_to_i4.m</a>
converts a binary representation into an integer value;
</li>
<li>
<a href = "binary_to_r8.m">binary_to_r8.m</a>
converts a binary representation into a real value;
</li>
<li>
<a href = "ch_cap.m">ch_cap.m</a>
returns the capitalized version of a character;
</li>
<li>
<a href = "ch_eqi.m">ch_eqi.m</a>
returns TRUE if a two characters are equal (ignoring case);
</li>
<li>
<a href = "ch_extract.m">ch_extract.m</a>
extracts the next nonblank character from a string;
</li>
<li>
<a href = "ch_index.m">ch_index.m</a>
returns the first occurrence of a character in a string;
</li>
<li>
<a href = "ch_index_last.m">ch_index_last.m</a>
returns the last occurrence of a character in a string;
</li>
<li>
<a href = "ch_indexi.m">ch_indexi.m</a>
returns the first occurrence of a character in a string,
without regard to case;
</li>
<li>
<a href = "ch_is_alpha.m">ch_is_alpha.m</a>
returns TRUE if a character is alphabetic;
</li>
<li>
<a href = "ch_is_alphanumeric.m">ch_is_alphanumeric.m</a>
returns TRUE if a character is alphanumeric;
</li>
<li>
<a href = "ch_is_control.m">ch_is_control.m</a>
returns TRUE if a character is a control character;
</li>
<li>
<a href = "ch_is_digit.m">ch_is_digit.m</a>
returns TRUE if a character is a decimal digit;
</li>
<li>
<a href = "ch_is_format_code.m">ch_is_format_code.m</a>
returns TRUE if a character is a legal FORTRAN format code;
</li>
<li>
<a href = "ch_is_lower.m">ch_is_lower.m</a>
returns TRUE if a character is a lowercase alphabetic character;
</li>
<li>
<a href = "ch_is_printable.m">ch_is_printable.m</a>
determines if a character is printable;
</li>
<li>
<a href = "ch_is_space.m">ch_is_space.m</a>
determines if a character is a "whitespace" character;
</li>
<li>
<a href = "ch_is_upper.m">ch_is_upper.m</a>
returns TRUE if a character is an uppercase alphabetic character;
</li>
<li>
<a href = "ch_low.m">ch_low.m</a>
returns returns the lowercase version of a character;
</li>
<li>
<a href = "ch_roman_to_i4.m">ch_roman_to_i4.m</a>
returns the integer value of a single digit of a Roman numeral;
</li>
<li>
<a href = "ch_scrabble.m">ch_scrabble.m</a>
returns the character on a given Scrabble tile;
</li>
<li>
<a href = "ch_scrabble_frequency.m">ch_scrabble_frequency.m</a>
returns the Scrabble frequency of a character;
</li>
<li>
<a href = "ch_scrabble_points.m">ch_scrabble_points.m</a>
returns the Scrabble point value of a character;
</li>
<li>
<a href = "ch_scrabble_select.m">ch_scrabble_select.m</a>
selects a character with the Scrabble probability;
</li>
<li>
<a href = "ch_swap.m">ch_swap.m</a>
swaps two characters;
</li>
<li>
<a href = "ch_to_amino_name.m">ch_to_amino_name.m</a>
converts a character to an amino acid name;
</li>
<li>
<a href = "ch_to_digit.m">ch_to_digit.m</a>
converts a character to a digit;
</li>
<li>
<a href = "ch_to_digit_bin.m">ch_to_digit_bin.m</a>
converts a character to a binary digit;
</li>
<li>
<a href = "ch_to_digit_oct.m">ch_to_digit_oct.m</a>,
converts a character to an octal digit;
</li>
<li>
<a href = "ch_to_ebcdic.m">ch_to_ebcdic.m</a>,
converts a character to EBCDIC;
</li>
<li>
<a href = "ch_to_military.m">ch_to_military.m</a>,
converts a character to its military encoding;
</li>
<li>
<a href = "ch_to_rot13.m">ch_to_rot13.m</a>,
converts a character to its ROT13 encoding;
</li>
<li>
<a href = "ch_to_scrabble.m">ch_to_scrabble.m</a>,
returns the Scrabble index of a character;
</li>
<li>
<a href = "ch_to_soundex.m">ch_to_soundex.m</a>,
converts an ASCII character to a Soundex character;
</li>
<li>
<a href = "ch_uniform.m">ch_uniform.m</a>,
returns a random character in a given range;
</li>
<li>
<a href = "chvec_permute.m">chvec_permute.m</a>,
permutes the entries of a character vector;
</li>
<li>
<a href = "chvec_print.m">chvec_print.m</a>,
prints the entries in a character vector;
</li>
<li>
<a href = "chvec_reverse.m">chvec_reverse.m</a>,
reverses the order of the entries in a character vector;
</li>
<li>
<a href = "chvec2_reverse.m">chvec2_reverse.m</a>,
prints the entries in a pair of character vectors;
</li>
<li>
<a href = "degrees_to_radians.m">degrees_to_radians.m</a>,
converts an angle from degrees to radians.
</li>
<li>
<a href = "digit_bin_to_ch.m">digit_bin_to_ch.m</a>,
returns the character equivalent of a binary digit;
</li>
<li>
<a href = "digit_dec.m">digit_dec.m</a>,
decrements a decimal digit;
</li>
<li>
<a href = "digit_inc.m">digit_inc.m</a>,
increments a decimal digit;
</li>
<li>
<a href = "digit_oct_to_ch.m">digit_oct_to_ch.m</a>,
returns the character equivalent of an octal digit;
</li>
<li>
<a href = "digit_to_ch.m">digit_to_ch.m</a>,
converts a digit to a character;
</li>
<li>
<a href = "file_name_inc.m">file_name_inc.m</a>,
"increments" a file name;
</li>
<li>
<a href = "hex_digit_to_i4.m">hex_digit_to_i4.m</a>
converts a hexadecimal digit to an I4;
</li>
<li>
<a href = "hex_to_binary_digits.m">hex_to_binary_digits.m</a>,
converts a hexadecimal digit to binary digits;
</li>
<li>
<a href = "hex_to_binary_string.m">hex_to_binary_string.m</a>,
converts a hexadecimal string to a binary string.
</li>
<li>
<a href = "hex_to_i4.m">hex_to_i4.m</a>,
converts a hexadecimal string to an I4;
</li>
<li>
<a href = "i4_huge.m">i4_huge.m</a>,
returns a huge I4;
</li>
<li>
<a href = "i4_length.m">i4_length.m</a>,
computes the number of characters needed to print an I4.
</li>
<li>
<a href = "i4_swap.m">i4_swap.m</a>,
swaps two integer values;
</li>
<li>
<a href = "i4_to_a.m">i4_to_a.m</a>,
returns the I-th alphabetic character;
</li>
<li>
<a href = "i4_to_amino_code.m">i4_to_amino_code.m</a>,
converts an integer to an amino code.
returns the I-th alphabetic character;
</li>
<li>
<a href = "i4_to_base.m">i4_to_base.m</a>
converts an I4 to a representation in any base from 1 to 16.
</li>
<li>
<a href = "i4_to_binary.m">i4_to_binary.m</a>
produces the binary representation of an integer.
</li>
<li>
<a href = "i4_to_binhex.m">i4_to_binhex.m</a>
returns the I-th character in the BINHEX encoding.
</li>
<li>
<a href = "i4_to_hex.m">i4_to_hex.m</a>
converts an I4 to a string of hexadecimal characters.
</li>
<li>
<a href = "i4_to_hex_digit.m">i4_to_hex_digit.m</a>,
converts a (small) I4 to a hex digit.
</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_month_name.m">i4_to_month_name.m</a>
returns the I-th month name;
</li>
<li>
<a href = "i4_to_nunary.m">i4_to_nunary.m</a>
produces the "base -1" representation of an integer.
</li>
<li>
<a href = "i4_to_octal.m">i4_to_octal.m</a>
converts an I4 to a string of octal characters.
</li>
<li>
<a href = "i4_to_s_left.m">i4_to_s_left.m</a>
converts an integer to a (left justified) string;
</li>
<li>
<a href = "i4_to_s_roman.m">i4_to_s_roman.m</a>
returns the Roman numeral representation of I;
</li>
<li>
<a href = "i4_to_s_zero.m">i4_to_s_zero.m</a>
converts an integer to a right-justified string padded with zeros;
</li>
<li>
<a href = "i4_to_s32.m">i4_to_s32.m</a>
converts an I4 to an S32.
</li>
<li>
<a href = "i4_to_unary.m">i4_to_unary.m</a>,
produces the "base 1" representation of an I4.
</li>
<li>
<a href = "i4_to_uudecode.m">i4_to_uudecode.m</a>,
returns the I-th character in the UUDECODE encoding.
</li>
<li>
<a href = "i4_to_xxdecode.m">i4_to_xxdecode.m</a>,
returns the I-th character in the XXDECODE encoding.
</li>
<li>
<a href = "i4_uniform.m">i4_uniform.m</a>,
returns a random integer in a given range;
</li>
<li>
<a href = "ic_to_ibraille.m">ic_to_ibraille.m</a>,
converts an ASCII integer code to a Braille code.
</li>
<li>
<a href = "ic_to_iebcdic.m">ic_to_iebcdic.m</a>,
converts an ASCII character code to an EBCDIC code.
</li>
<li>
<a href = "ic_to_imorse.m">ic_to_imorse.m</a>,
converts an ASCII character code to a Morse integer code.
</li>
<li>
<a href = "ic_to_isoundex.m">ic_to_isoundex.m</a>,
converts an ASCII integer code to a Soundex integer code.
</li>
<li>
<a href = "iebcdic_to_ic.m">iebcdic_to_ic.m</a>,
converts an EBCDIC character code to ASCII.
</li>
<li>
<a href = "isbn_to_i4.m">isbn_to_i4.m</a>,
converts an ISBN character to an I4.
</li>
<li>
<a href = "matlab_real_to_binary_string.m">matlab_real_to_binary_string.m</a>,
converts a MATLAB real number to a binary string;
</li>
<li>
<a href = "matlab_real_to_hex_string.m">matlab_real_to_hex_string.m</a>,
converts a MATLAB real number to a hexadecimal string;
</li>
<li>
<a href = "oct_to_i4.m">oct_to_i4.m</a>,
converts an octal string to an I4;
</li>
<li>
<a href = "r4_to_s_left.m">r4_to_s_left.m</a>,
writes an R4 into a (left justified) string;
</li>
<li>
<a href = "r4_uniform_01.m">r4_uniform_01.m</a>,
returns a unit pseudorandom R4.
</li>
<li>
<a href = "r8_to_s_left.m">r8_to_s_left.m</a>,
writes an R8 into a (left justified) string;
</li>
<li>
<a href = "r8_uniform_01.m">r8_uniform_01.m</a>,
returns a unit pseudorandom R8.
</li>
<li>
<a href = "s_alpha_last.m">s_alpha_last.m</a>,
returns the location of the last alphabetic character in a string;
</li>
<li>
<a href = "s_adjustl.m">s_adjustl.m</a>,
shifts a string to the left, "squeezing" out blanks;
</li>
<li>
<a href = "s_adjustr.m">s_adjustr.m</a>,
shifts a string to the right, "squeezing" out blanks;
</li>
<li>
<a href = "s_begin.m">s_begin.m</a>,
is TRUE if two strings match, up to the end of the shorter string,
ignoring spaces and capitalization;
</li>
<li>
<a href = "s_behead_substring.m">s_behead_substring.m</a>,
removes the head of a string, if it matches a given substring;
</li>
<li>
<a href = "s_blank_delete.m">s_blank_delete.m</a>,
deletes every blank from a string;
</li>
<li>
<a href = "s_blanks_delete.m">s_blanks_delete.m</a>,
replaces consecutive blanks by one blank in a string;
</li>
<li>
<a href = "s_cap.m">s_cap.m</a>,
capitalizes all the characters in a string;
</li>
<li>
<a href = "s_cat.m">s_cat.m</a>,
concatenates two strings;
</li>
<li>
<a href = "s_ch_delete.m">s_ch_delete.m</a>,
removes all occurrences of a character from a string.
</li>
<li>
<a href = "s_compare.m">s_compare.m</a>
compares two strings, returning -1, 0, or +1.
</li>
<li>
<a href = "s_control_blank.m">s_control_blank.m</a>
replaces control characters by blanks in a string.
</li>
<li>
<a href = "s_eqi.m">s_eqi.m</a>,
is TRUE if two strings are equal, ignoring case and trailing blanks;
</li>
<li>
<a href = "s_escape_tex.m">s_escape_tex.m</a>,
de-escapes TeX escape sequences;
</li>
<li>
<a href = "s_first_nonblank.m">s_first_nonblank.m</a>
indexes the first nonblank character in a string;
</li>
<li>
<a href = "s_inc_c.m">s_inc_c.m</a>
"increments" the characters in a string;
</li>
<li>
<a href = "s_index.m">s_index.m</a>
returns the index of the first occurrence of a substring in a string;
</li>
<li>
<a href = "s_is_alpha.m">s_is_alpha.m</a>
is TRUE if all characters in the string are alphabetic;
</li>
<li>
<a href = "s_len_trim.m">s_len_trim.m</a>
returns the length of a string to the last nonblank;
</li>
<li>
<a href = "s_low.m">s_low.m</a>
makes a lowercase copy of a string;
</li>
<li>
<a href = "s_neqi.m">s_neqi.m</a>
is TRUE if two strings are not equal, ignoring case and trailing
blanks;
</li>
<li>
<a href = "s_nonalpha_delete.m">s_nonalpha_delete.m</a>
removes nonalphabetic characters from a string.
</li>
<li>
<a href = "s_replace_ch.m">s_replace_ch.m</a>
replaces all occurrences of one character by another;
</li>
<li>
<a href = "s_replace_ch_by_s.m">s_replace_ch_by_s.m</a>
replaces all occurrences of a character by a string;
</li>
<li>
<a href = "s_reverse.m">s_reverse.m</a>
reverses a string;
</li>
<li>
<a href = "s_s_subanagram.m">s_s_subanagram.m</a>
determines if S2 is a "subanagram" of S1.
</li>
<li>
<a href = "s_s_subanagram_sorted.m">s_s_subanagram_sorted.m</a>
determines if S2 is a "subanagram" of S1.
</li>
<li>
<a href = "s_scrabble_points.m">s_scrabble_points.m</a>
determines the Scrabble value of a string.
</li>
<li>
<a href = "s_sort_a.m">s_sort_a.m</a>
sorts a string into ascending order.
</li>
<li>
<a href = "s_swap.m">s_swap.m</a>
swaps two strings;
</li>
<li>
<a href = "s_to_format.m">s_to_format.m</a>
converts a string to a FORTRAN format;
</li>
<li>
<a href = "s_to_i4.m">s_to_i4.m</a>
converts a string to an integer;
</li>
<li>
<a href = "s_to_i4vec.m">s_to_i4vec.m</a>
converts a string to an integer vector;
</li>
<li>
<a href = "s_to_l.m">s_to_l.m</a>
converts a string to a logical value;
</li>
<li>
<a href = "s_to_r4.m">s_to_r4.m</a>
reads an R4 from a string;
</li>
<li>
<a href = "s_to_r8.m">s_to_r8.m</a>
reads an R8 from a string;
</li>
<li>
<a href = "s_to_r8vec.m">s_to_r8vec.m</a>
reads an R8VEC from a string;
</li>
<li>
<a href = "s_to_rot13.m">s_to_rot13.m</a>
encodes or decodes a string using ROT13;
</li>
<li>
<a href = "s_word_count.m">s_word_count.m</a>
counts the number of "words" in a string;
</li>
<li>
<a href = "s_word_extract_first.m">s_word_extract_first.m</a>
extracts the first word from a string;
</li>
<li>
<a href = "sort_heap_external.m">sort_heap_external.m</a>
externally sorts a list of values into ascending order;
</li>
<li>
<a href = "timestamp.m">timestamp.m</a>
prints the current HMSDMY date as a timestamp;
</li>
<li>
<a href = "word_next_read.m">word_next_read.m</a>
reads words from a string, one at a time.
</li>
</ul>
</p>
<h3 align = "center">
Examples and Tests:
</h3>
<p>
<ul>
<li>
<a href = "chrpak_test.m">chrpak_test.m</a>
calls all the other test routines;
</li>
<li>
<a href = "chrpak_test_output.txt">chrpak_test_output.txt</a>
the output file;
</li>
<li>
<a href = "chrpak_test001.m">chrpak_test001.m</a>
tests A_TO_I4 and I4_TO_A;
</li>
<li>
<a href = "chrpak_test005.m">chrpak_test005.m</a>
tests BASE_TO_I4 and I4_TO_BASE;
</li>
<li>
<a href = "chrpak_test006.m">chrpak_test006.m</a>
tests BINARY_TO_I4 and I4_TO_BINARY;
</li>
<li>
<a href = "chrpak_test011.m">chrpak_test011.m</a>
tests CH_CAP;
</li>
<li>
<a href = "chrpak_test016.m">chrpak_test016.m</a>
tests CH_LOW;
</li>
<li>
<a href = "chrpak_test021.m">chrpak_test021.m</a>
tests CH_TO_DIGIT and DIGIT_TO_CH;
</li>
<li>
<a href = "chrpak_test022.m">chrpak_test022.m</a>
tests I4_TO_HEX_DIGIT and HEX_DIGIT_TO_I4;
</li>
<li>
<a href = "chrpak_test026.m">chrpak_test026.m</a>
tests CH_TO_ROT13;
</li>
<li>
<a href = "chrpak_test029.m">chrpak_test029.m</a>
tests CH_UNIFORM;
</li>
<li>
<a href = "chrpak_test046.m">chrpak_test046.m</a>
tests HEX_TO_I4 and I4_TO_HEX;
</li>
<li>
<a href = "chrpak_test051.m">chrpak_test051.m</a>
tests I4_LENGTH;
</li>
<li>
<a href = "chrpak_test054.m">chrpak_test054.m</a>
tests I4_TO_BINHEX;
</li>
<li>
<a href = "chrpak_test056.m">chrpak_test056.m</a>
tests I4_TO_NUNARY;
</li>
<li>
<a href = "chrpak_test057.m">chrpak_test057.m</a>
tests I4_TO_OCT and OCT_TO_I4;
</li>
<li>
<a href = "chrpak_test065.m">chrpak_test065.m</a>
tests I4_TO_UNARY;
</li>
<li>
<a href = "chrpak_test066.m">chrpak_test066.m</a>
tests I4_TO_UUDECODE;
</li>
<li>
<a href = "chrpak_test067.m">chrpak_test067.m</a>
tests I4_TO_XXDECODE;
</li>
<li>
<a href = "chrpak_test083.m">chrpak_test083.m</a>
tests R4_TO_S_LEFT and S_TO_R4;
</li>
<li>
<a href = "chrpak_test090.m">chrpak_test090.m</a>
tests S_BEGIN;
</li>
<li>
<a href = "chrpak_test091.m">chrpak_test091.m</a>
tests S_BEHEAD_SUBSTRING;
</li>
<li>
<a href = "chrpak_test1015.m">chrpak_test1015.m</a>
tests S_EQI;
</li>
<li>
<a href = "chrpak_test102.m">chrpak_test102.m</a>
tests S_ESCAPE_TEX;
</li>
<li>
<a href = "chrpak_test105.m">chrpak_test105.m</a>
tests S_INC_C;
</li>
<li>
<a href = "chrpak_test115.m">chrpak_test115.m</a>
tests S_REPLACE_CH;
</li>
<li>
<a href = "chrpak_test1155.m">chrpak_test1155.m</a>
tests S_REPLACE_CH_BY_S;
</li>
<li>
<a href = "chrpak_test1225.m">chrpak_test1225.m</a>
tests S_S_SUBANAGRAM;
</li>
<li>
<a href = "chrpak_test1227.m">chrpak_test1227.m</a>
tests S_SCRABBLE_POINTS.
</li>
<li>
<a href = "chrpak_test1255.m">chrpak_test1255.m</a>
tests S_SORT_A;
</li>
<li>
<a href = "chrpak_test129.m">chrpak_test129.m</a>
tests S_TO_FORMAT;
</li>
<li>
<a href = "chrpak_test137.m">chrpak_test137.m</a>
tests S_WORD_COUNT;
</li>
<li>
<a href = "chrpak_test138.m">chrpak_test138.m</a>
tests S_WORD_EXTRACT_FIRST;
</li>
</ul>
</p>
<p>
You can go up one level to <a href = "../m_src.html">
the MATLAB source codes</a>.
</p>
<hr>
<i>
Last revised on 15 January 2013.
</i>
<!-- John Burkardt -->
</body>
</html>