30-Dec-2022 19:55:03 uniform_test(): MATLAB/Octave version 4.2.2 Test uniform(). bvec_uniform_test(): bvec_uniform() computes a binary vector 0100000101 1101111111 0001100011 0000111001 0111000110 0000011110 1101000000 0101101111 0101101111 0111111110 c8_uniform_01_test(): c8_uniform_01() computes pseudorandom complex values in the unit circle. 1 ( -0.146463, -0.009572 ) 2 ( 0.272858, 0.807893 ) 3 ( 0.235685, -0.111577 ) 4 ( 0.415399, -0.619242 ) 5 ( -0.248774, -0.335425 ) 6 ( -0.668891, 0.458099 ) 7 ( -0.756627, -0.427857 ) 8 ( 0.130375, 0.539549 ) 9 ( -0.487098, -0.757084 ) 10 ( 0.013670, -0.198191 ) c8mat_uniform_01_test() c8mat_uniform_01() computes pseudorandom complex values in the unit circle. The Uniform C8MAT: Col: 1 2 Row --- 1: 0.614796 -0.745520 -0.598740 0.506868 2: -0.911099 0.309900 0.712075 -0.018374 3: -0.173565 0.658444 -0.278539 0.557110 4: -0.547425 0.158351 -0.468654 0.666249 5: -0.221198 -0.553067 -0.263202 0.199565 c8vec_uniform_01_test(): c8vec_uniform_01() computes pseudorandom complex values in the unit circle. 1 ( 0.450167, -0.395778 ) 2 ( 0.078669, 0.450087 ) 3 ( 0.011603, -0.692869 ) 4 ( 0.269744, -0.702336 ) 5 ( -0.355023, 0.113107 ) 6 ( -0.192072, 0.313492 ) 7 ( -0.910148, 0.329844 ) 8 ( -0.109556, 0.118892 ) 9 ( 0.296525, -0.513201 ) 10 ( 0.577348, -0.613772 ) ch_uniform_ab_test(): ch_uniform_ab() computes pseudorandom character values in the interval [CLO,CHI]. The lower endpoint CLO = A The upper endpoint CHI = J 1 H 2 B 3 D 4 E 5 H 6 C 7 B 8 E 9 E 10 I i4_key_advance_test(): i4_key_advance() advances the key. Step key input key output 1 12345 207482415 2 207482415 1790989824 3 1790989824 2035175616 4 2035175616 77048696 5 77048696 24794531 6 24794531 109854999 7 109854999 1644515420 8 1644515420 1256127050 9 1256127050 1963079340 10 1963079340 1683198519 i4_uniform_0i_test(): i4_uniform_0i() computes pseudorandom integers in the interval [1,(2^31)-1]. The initial key is 123456789 1 469049721 2 2053676357 3 1781357515 4 1206231778 5 891865166 6 141988902 7 553144097 8 236130416 9 94122056 10 1361431000 i4_uniform_ab_test(): i4_uniform_ab() computes pseudorandom values in an interval [A,B]. The lower endpoint A = -100.000000 The upper endpoint B = 200.000000 1 -29 2 101 3 18 4 179 5 52 6 96 7 137 8 -23 9 140 10 -6 11 34 12 -64 13 39 14 -73 15 2 16 120 17 9 18 -96 19 -45 20 45 i4mat_uniform_ab_test(): i4mat_uniform_ab() computes pseudorandom values in an interval [A,B]. The lower endpoint A = -100.000000 The upper endpoint B = 200.000000 The uniform I4MAT: Col: 1 2 3 4 Row 1: -25 6 91 -81 2: 127 -92 81 153 3: -13 -46 -47 -94 4: -87 -79 -76 -78 5: -71 -46 85 -10 i4vec_uniform_ab_test(): i4vec_uniform_ab() computes pseudorandom values in an interval [A,B]. The lower endpoint A = -100.000000 The upper endpoint B = 200.000000 The random vector: 1: -75 2: 138 3: 11 4: 45 5: -89 6: 118 7: 82 8: 89 9: 188 10: -54 11: -95 12: 189 13: 18 14: 184 15: 48 16: 159 17: 74 18: 126 19: 143 20: 63 l4_uniform_test(): l4_uniform() computes pseudorandom logical values. 1 1 2 1 3 0 4 0 5 0 6 0 7 1 8 0 9 1 10 0 l4mat_uniform_test(): l4mat_uniform() computes a vector of pseudorandom logical values. Uniform L4MAT: Col 1 2 3 4 Row 1: 1 1 1 0 2: 1 0 1 1 3: 0 1 1 1 4: 0 1 0 1 5: 0 1 0 1 l4vec_uniform_test(): l4vec_uniform() computes a pseudorandom logical vector. Uniform L4VEC: 1: F 2: T 3: F 4: F 5: T 6: T 7: F 8: T 9: F 10: F lcrg_anbn_test(): lcrg_anbn() determines a linear congruential random number generator equivalent to N steps of a given one. LCRG parameters: A = 16807 B = 0 C = 2147483647 N A B 0 1 0 1 16807 0 2 282475249 0 3 1622650073 0 4 984943664 0 5 1144209772 0 6 17579136 0 7 1246993408 0 8 392272896 0 9 155766782 0 10 189739376 0 N In Out 0 12345 1 12345 207482415 2 207482415 1790989824 3 1790989824 2035175616 4 2035175616 77048696 5 77048696 24794531 6 24794531 109854999 7 109854999 1644515420 8 1644515420 1256127050 9 1256127050 1963079340 10 1963079340 1683198519 11 1683198519 715426902 LCRG parameters: AN = 984943664 BN = 0 C = 2147483647 J N In Out 1 0 12345 2 1 207482415 3 2 1790989824 4 3 2035175616 1 4 12345 77122766 2 5 207482415 1269688992 3 6 1790989824 118375680 4 7 2035175616 970667264 1 8 77122766 33672176 2 9 1269688992 493967104 3 10 118375680 1243963936 4 11 970667264 857676160 lcrg_key_test(): lcrg_key() directly computes the updated value of a key used by an linear congruential random number generator. I key key key U Input Output LCRG 1 12345 207482415 207482415 0.096617 2 207482415 1790989824 1790989824 0.833995 3 1790989824 2035175616 2035175616 0.947702 4 2035175616 77048696 77122766 0.035879 5 77048696 24794531 1269689021 0.011546 6 24794531 109854999 118585573 0.051155 7 109854999 1644515420 970840064 0.765787 8 1644515420 1256127050 33277135 0.584930 9 1256127050 1963079340 943059725 0.914130 10 1963079340 1683198519 1575421490 0.783800 100 1549894482 99920864 1365307336 0.046529 1000 890151694 1408436056 785867306 0.655854 r8_uniform_01_test(): r8_uniform_01() computes pseudorandom double precision values in the unit interval. The initial key is 123456789 1 0.218418 2 0.956318 3 0.829509 4 0.561695 5 0.415307 6 0.066119 7 0.257578 8 0.109957 9 0.043829 10 0.633966 r8_uniform_ab_test(): r8_uniform_ab() computes pseudorandom real values in the interval [DLO,DHI]. The lower endpoint DLO = 5.000000 The upper endpoint DHI = 10.000000 1 8.567062 2 9.544258 3 9.453475 4 5.895534 5 9.982088 6 9.981121 7 6.824642 8 9.248764 9 8.672978 10 5.912964 r8mat_uniform_01_test(): r8mat_uniform_01() computes a random R8MAT. Uniform R8MAT: Col: 1 2 3 4 Row 1 : 0.883414 0.76294 0.885815 0.922873 2 : 0.0428261 0.0240267 0.803472 0.558557 3 : 0.478511 0.0950074 0.61362 0.718898 4 : 0.594207 0.85075 0.518888 0.42071 5 : 0.0463563 0.705706 0.956823 0.0309778 r8mat_uniform_ab_test(): r8mat_uniform_ab() computes a random R8MAT. -1 <= x <= 5 Uniform R8MAT: Col: 1 2 3 4 Row 1 : -0.122315 4.86507 4.2857 3.14733 2 : 1.11147 0.333561 1.08148 1.08919 3 : 4.23384 -0.618162 4.59086 3.45224 4 : 4.09637 0.805191 -0.253229 4.39467 5 : 0.350838 2.66829 -0.00718438 2.37581 r8vec_uniform_01_test(): r8vec_uniform_01() computes a random R8VEC. Random R8VEC: 1: 0.782068 2: 0.603034 3: 0.263152 4: 0.149633 5: 0.0319501 6: 0.222382 7: 0.969624 8: 0.0897832 9: 0.00792615 10: 0.872131 r8vec_uniform_ab_test(): r8vec_uniform_ab() computes a random R8VEC. -1 <= x <= 5 Random R8VEC: 1: 1.36831 2: -0.376964 3: 4.87976 4: 3.92475 5: 4.50562 6: 3.03003 7: 1.94984 8: 3.78827 9: 1.96897 10: 1.76938 r8col_uniform_abvec_test(): r8col_uniform_abvec() computes a random R8COL. 0.0000: 0.1979 0.5735 0.4171 0.4994 : 1.0000 0.2000: 0.2121 0.2469 0.2463 0.2315 : 0.2500 10.0000: 18.9662 17.8314 13.3806 15.3289 : 20.0000 52.0000: 52.7353 53.6940 52.8456 52.2039 : 54.0000 -1.0000: -0.8002 -0.8845 -0.1854 0.8107 : 1.0000 r8row_uniform_abvec_test(): r8row_uniform_abvec() computes a random R8ROW. 1.0000 0.2500 20.0000 54.0000 1.0000 0.2291 0.2196 18.6102 52.1776 -0.4714 0.2286 0.2250 12.2658 53.7113 -0.7125 0.9735 0.2363 11.7609 53.3321 0.3630 0.7691 0.2058 10.9921 53.3017 0.4671 0.0000 0.2000 10.0000 52.0000 -1.0000 r8vec_uniform_abvec_test(): r8vec_uniform_abvec() computes a random R8VEC. I A X B 1 0.0000 0.5425 1.0000 2 0.2000 0.2448 0.2500 3 10.0000 14.4589 20.0000 4 52.0000 53.1249 54.0000 5 -1.0000 -0.0567 1.0000 uniform_test(): Normal end of execution. 30-Dec-2022 19:55:03