function [ l, u ] = bodewig_lu ( )

%*****************************************************************************80
%
%% bodewig_lu() returns the LU factors of the BODEWIG matrix.
%
%  Discussion:
%
%    The PLU factorization of this matrix is slightly different.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    04 November 2021
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    real L(4,4), U(4,4), the factors.
%
  l = [ ...
    1.00,  0.00,               0.00,              0.00; ...
    0.50,  1.00,               0.00,              0.00; ...
    1.50,  0.142857142857143,  1.00,              0.00; ...
    2.00, -0.857142857142857, -5.363636363636364, 1.00 ];

  u = [ ...
    2.00,  1.00,  3.00,               4.00; ...
    0.00, -3.50, -0.50,               3.00; ...
    0.00,  0.00,  1.571428571428571, -8.428571428571429; ...
    0.00,  0.00,  0.00,             -51.6363636363636478 ];

  return
end
