function sparse_grid_mixed_point_tests ( )

%*****************************************************************************80
%
%% SPARSE_GRID_MIXED_POINT_TESTS calls SPARSE_GRID_MIXED_POINT_TEST with various arguments.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    16 February 2011
%
%  Author:
%
%    John Burkardt
%
%  Local Parameters:
%
%    Local, real TOL, a tolerance for point equality.
%    A value of sqrt ( eps ) is reasonable, and will allow the code to
%    consolidate points which are equal, or very nearly so.  A value of
%    -1.0, on the other hand, will force the code to use every point, regardless
%    of duplication.
%
  tol = sqrt ( eps );

  fprintf ( 1, '\n' );
  fprintf ( 1, 'SPARSE_GRID_MIXED_POINT_TESTS\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Call SPARSE_GRID_MIXED_POINT_TEST with various arguments.\n' );
  fprintf ( 1, '  All tests will use a point equality tolerance of %e\n', tol );
%
%  Rule 1x1
%
  dim_num = 2;
  level_max_min = 0;
  level_max_max = 2;
  rule = [ 1, 1 ]';
  alpha = [ 0.0, 0.0 ]';
  beta = [ 0.0, 0.0 ]';
  sparse_grid_mixed_point_test ( dim_num, level_max_min, level_max_max, ...
    rule, alpha, beta, tol );
%
%  Rule 1x3
%
  dim_num = 2;
  level_max_min = 0;
  level_max_max = 2;
  rule = [ 1, 3 ]';
  alpha = [ 0.0, 0.0 ]';
  beta = [ 0.0, 0.0 ]';
  sparse_grid_mixed_point_test ( dim_num, level_max_min, level_max_max, ...
    rule, alpha, beta, tol );
%
%  Rule 1x4
%
  dim_num = 2;
  level_max_min = 0;
  level_max_max = 2;
  rule = [ 1, 4 ]';
  alpha = [ 0.0, 0.0 ]';
  beta = [ 0.0, 0.0 ]';
  sparse_grid_mixed_point_test ( dim_num, level_max_min, level_max_max, ...
    rule, alpha, beta, tol );
%
%  Rule 1x7
%
  dim_num = 2;
  level_max_min = 0;
  level_max_max = 2;
  rule = [ 1, 7 ]';
  alpha = [ 0.0, 0.0 ]';
  beta = [ 0.0, 0.0 ]';
  sparse_grid_mixed_point_test ( dim_num, level_max_min, level_max_max, ...
    rule, alpha, beta, tol );
%
%  Rule 1x8
%
  dim_num = 2;
  level_max_min = 0;
  level_max_max = 2;
  rule = [ 1, 8 ]';
  alpha = [ 0.0, 1.5 ]';
  beta = [ 0.0, 0.0 ]';
  sparse_grid_mixed_point_test ( dim_num, level_max_min, level_max_max, ...
    rule, alpha, beta, tol );
%
%  Rule 1x17
%
  dim_num = 2;
  level_max_min = 0;
  level_max_max = 2;
  rule = [ 1, 17 ]';
  alpha = [ 0.0, 0.0 ]';
  beta = [ 0.0, 0.0 ]';
  sparse_grid_mixed_point_test ( dim_num, level_max_min, level_max_max, ...
    rule, alpha, beta, tol );
%
%  Rule 2x9
%
  dim_num = 2;
  level_max_min = 0;
  level_max_max = 2;
  rule = [ 2, 9 ]';
  alpha = [ 0.0, 0.5 ]';
  beta = [ 0.0, 1.5 ]';
  sparse_grid_mixed_point_test ( dim_num, level_max_min, level_max_max, ...
    rule, alpha, beta, tol );
%
%  Rule 6x4
%
  dim_num = 2;
  level_max_min = 0;
  level_max_max = 2;
  rule = [ 6, 4 ]';
  alpha = [ 2.0, 0.0 ]';
  beta = [ 0.0, 0.0 ]';
  sparse_grid_mixed_point_test ( dim_num, level_max_min, level_max_max, ...
    rule, alpha, beta, tol );
%
%  Rule 1x2x5
%
  dim_num = 3;
  level_max_min = 0;
  level_max_max = 2;
  rule = [ 1, 2, 5 ]';
  alpha = [ 0.0, 0.0, 0.0 ]';
  beta = [ 0.0, 0.0, 0.0 ]';
  sparse_grid_mixed_point_test ( dim_num, level_max_min, level_max_max, ...
    rule, alpha, beta, tol );
%
%  Rule 13x13, level 4
%
  dim_num = 2;
  level_max_min = 4;
  level_max_max = 4;
  rule = [ 13, 13 ]';
  alpha = [ 0.0, 0.0 ]';
  beta = [ 0.0, 0.0 ]';
  sparse_grid_mixed_point_test ( dim_num, level_max_min, level_max_max, ...
    rule, alpha, beta, tol );
%
%  Rule 16x16, level 4
%
  dim_num = 2;
  level_max_min = 4;
  level_max_max = 4;
  rule = [ 16, 16 ]';
  alpha = [ 0.0, 0.0 ]';
  beta = [ 0.0, 0.0 ]';
  sparse_grid_mixed_point_test ( dim_num, level_max_min, level_max_max, ...
    rule, alpha, beta, tol );
%
%  Rule 17x17, level 4
%
  dim_num = 2;
  level_max_min = 4;
  level_max_max = 4;
  rule = [ 17, 17 ]';
  alpha = [ 0.0, 0.0 ]';
  beta = [ 0.0, 0.0 ]';
  sparse_grid_mixed_point_test ( dim_num, level_max_min, level_max_max, ...
    rule, alpha, beta, tol );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'SPARSE_GRID_MIXED_POINT_TESTS\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
