function uniform_test03 ( ) %*****************************************************************************80 % %% TEST03 tests C8_UNIFORM_01. % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 29 June 2006 % % Author: % % John Burkardt % seed = 123456789; fprintf ( 1, '\n' ); fprintf ( 1, 'TEST03\n' ); fprintf ( 1, ' C8_UNIFORM_01 computes pseudorandom complex values\n' ); fprintf ( 1, ' in the unit circle.\n' ); fprintf ( 1, '\n' ); fprintf ( 1, ' The initial seed is %d\n', seed ); fprintf ( 1, '\n' ); for i = 1 : 10 [ x, seed ] = c8_uniform_01 ( seed ); fprintf ( 1, ' %6d ( %f, %f )\n', i, real ( x ), imag ( x ) ); end return end