function a = wilk03_matrix ( )

%*****************************************************************************80
%
%% wilk03_matrix returns the WILK03 matrix.
%
%  Formula:
%
%    1.0E-10  0.9  -0.4
%    0        0.9  -0.4
%    0        0     1.0E-10
%
%  Discussion:
%
%    The linear equation under study is
%      A * X = B,
%    where A is the 3 by 3 Wilkinson matrix, and
%      B = ( 0, 0, 1 )'
%    and the correct solution is
%      X = ( 0, 4.0E+10 / 9.0, 1.0E+10 )
%
%    Since the matrix is already in upper triangular form, errors can
%    occur only in the backsubstitution.
%
%  Properties:
%
%    A is generally not symmetric: A' /= A.
%
%    A is upper triangular.
%
%    det ( A ) = 0.9E-20
%
%    LAMBDA = ( 1.0E-10, 0.9, 1.0E-10 )
%
%    A is not diagonally dominant.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    24 October 2007
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    James Wilkinson,
%    Error Analysis of Direct Methods of Matrix Inversion,
%    Journal of the Association for Computing Machinery,
%    Volume 8, 1961, pages 281-330.
%
%  Output:
%
%    real A(3,3), the matrix.
%
  a(1:3,1:3) = [ 1.0E-10,  0.9, -0.4; ...
                 0.0,      0.9, -0.4; ...
                 0.0,      0.0,  1.0E-10 ];

  return
end
