function r8vec_softmax_test ( )

%*****************************************************************************80
%
%% R8VEC_SOFTMAX_TEST tests R8VEC_SOFTMAX.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 August 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8VEC_SOFTMAX_TEST\n' );
  fprintf ( 1, '  R8VEC_SOFTMAX evaluates the softmax function of an R8VEC.\n' );

  n = 10;
  seed = 123456789;

  [ x, seed ] = r8vec_normal_ab ( n, -3.0, +3.0, seed );

  sx = r8vec_softmax ( n, x );

  r8vec2_print ( x, sx, '  X, Softmax(X):' );

  return
end
