def polygon_grid_test(): #*****************************************************************************80 # ## POLYGON_GRID_TEST tests the POLYGON_GRID library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 10 May 2015 # # Author: # # John Burkardt # from polygon_grid_count import polygon_grid_count_test from polygon_grid_display import polygon_grid_display_test from polygon_grid_points import polygon_grid_points_test01 from polygon_grid_points import polygon_grid_points_test02 from polygon_grid_points import polygon_grid_points_test03 from r8mat_print import r8mat_print_test from r8mat_print_some import r8mat_print_some_test from r8mat_write import r8mat_write_test print '' print 'POLYGON_GRID_TEST:' print ' Python version' print ' Test the POLYGON_GRID library.' # # Utilities. # r8mat_print_test() r8mat_print_some_test() r8mat_write_test() # # Library. # polygon_grid_count_test() polygon_grid_display_test() polygon_grid_points_test01() polygon_grid_points_test02() polygon_grid_points_test03() # # Terminate. # print '' print 'POLYGON_GRID_TEST:' print ' Normal end of execution.' return
def triangle_grid_test ( ): #*****************************************************************************80 # ## TRIANGLE_GRID_TEST tests the TRIANGLE_GRID library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 09 April 2015 # # Author: # # John Burkardt # from triangle_grid_display import triangle_grid_display_test from triangle_grid_points import triangle_grid_points_test from triangle_grid_count import triangle_grid_count_test from r82col_print_part import r82col_print_part_test from r8mat_print import r8mat_print_test from r8mat_print_some import r8mat_print_some_test from r8mat_write import r8mat_write_test from timestamp import timestamp_test print '' print 'TRIANGLE_GRID_TEST' print ' Python version:' print ' Test the TRIANGLE_GRID library.' # # Utilities: # r82col_print_part_test ( ) r8mat_print_test ( ) r8mat_print_some_test ( ) r8mat_write_test ( ) timestamp_test ( ) # # Library. # triangle_grid_display_test ( ) triangle_grid_count_test ( ) triangle_grid_points_test ( 15 ) # # Terminate. # print '' print 'TRIANGLE_GRID_TEST:' print ' Normal end of execution.'
def triangle_grid_test(): #*****************************************************************************80 # ## TRIANGLE_GRID_TEST tests the TRIANGLE_GRID library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 09 April 2015 # # Author: # # John Burkardt # from triangle_grid_display import triangle_grid_display_test from triangle_grid_points import triangle_grid_points_test from triangle_grid_count import triangle_grid_count_test from r82col_print_part import r82col_print_part_test from r8mat_print import r8mat_print_test from r8mat_print_some import r8mat_print_some_test from r8mat_write import r8mat_write_test from timestamp import timestamp_test print '' print 'TRIANGLE_GRID_TEST' print ' Python version:' print ' Test the TRIANGLE_GRID library.' # # Utilities: # r82col_print_part_test() r8mat_print_test() r8mat_print_some_test() r8mat_write_test() timestamp_test() # # Library. # triangle_grid_display_test() triangle_grid_count_test() triangle_grid_points_test(15) # # Terminate. # print '' print 'TRIANGLE_GRID_TEST:' print ' Normal end of execution.'
def hypercube_grid_test(): #*****************************************************************************80 # ## HYPERCUBE_GRID_TEST tests the HYPERCUBE_GRID library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 20 April 2015 # # Author: # # John Burkardt # from hypercube_grid_points import hypercube_grid_points_test01 from hypercube_grid_points import hypercube_grid_points_test02 from hypercube_grid_points import hypercube_grid_points_test03 from r8mat_print import r8mat_print_test from r8mat_print_some import r8mat_print_some_test from r8mat_write import r8mat_write_test from timestamp import timestamp_test print '' print 'HYPERCUBE_GRID_TEST' print ' Python version:' print ' Test the HYPERCUBE_GRID library.' # # Utilities: # r8mat_print_test() r8mat_print_some_test() r8mat_write_test() timestamp_test() # # Library. # hypercube_grid_points_test01() hypercube_grid_points_test02() hypercube_grid_points_test03() # # Terminate. # print '' print 'HYPERCUBE_GRID_TEST:' print ' Normal end of execution.'
def hypercube_grid_test ( ): #*****************************************************************************80 # ## HYPERCUBE_GRID_TEST tests the HYPERCUBE_GRID library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 20 April 2015 # # Author: # # John Burkardt # from hypercube_grid_points import hypercube_grid_points_test01 from hypercube_grid_points import hypercube_grid_points_test02 from hypercube_grid_points import hypercube_grid_points_test03 from r8mat_print import r8mat_print_test from r8mat_print_some import r8mat_print_some_test from r8mat_write import r8mat_write_test from timestamp import timestamp_test print '' print 'HYPERCUBE_GRID_TEST' print ' Python version:' print ' Test the HYPERCUBE_GRID library.' # # Utilities: # r8mat_print_test ( ) r8mat_print_some_test ( ) r8mat_write_test ( ) timestamp_test ( ) # # Library. # hypercube_grid_points_test01 ( ) hypercube_grid_points_test02 ( ) hypercube_grid_points_test03 ( ) # # Terminate. # print '' print 'HYPERCUBE_GRID_TEST:' print ' Normal end of execution.'
def tetrahedron_grid_test ( ): #*****************************************************************************80 # ## TETRAHEDRON_GRID_TEST tests the TETRAHEDRONE_GRID library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 15 April 2015 # # Author: # # John Burkardt # from r83col_print_part import r83col_print_part_test from r8mat_write import r8mat_write_test from tetrahedron_grid_count import tetrahedron_grid_count_test from tetrahedron_grid_display import tetrahedron_grid_display_test from tetrahedron_grid_points import tetrahedron_grid_points_test from timestamp import timestamp_test print '' print 'TETRAHEDRON_GRID_TEST' print ' Python version:' print ' Test the TETRAHEDRON_GRID library.' # # Utilities: # r83col_print_part_test ( ) r8mat_write_test ( ) timestamp_test ( ) # # Library. # tetrahedron_grid_count_test ( ) tetrahedron_grid_display_test ( ) tetrahedron_grid_points_test ( ) # # Terminate. # print '' print 'TETRAHEDRON_GRID_TEST:' print ' Normal end of execution.'
def sphere_fibonacci_grid_test(): #*****************************************************************************80 # ## SPHERE_FIBONACCI_GRID_TEST tests the SPHERE_FIBONACCI_GRID library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 15 May 2015 # # Author: # # John Burkardt # from sphere_fibonacci_grid_display import sphere_fibonacci_grid_display_test from sphere_fibonacci_grid_points import sphere_fibonacci_grid_points_test from r8mat_print import r8mat_print_test from r8mat_print_some import r8mat_print_some_test from r8mat_write import r8mat_write_test from timestamp import timestamp_test print '' print 'SPHERE_FIBONACCI_GRID_TEST' print ' Python version:' print ' Test the SPHERE_FIBONACCI_GRID library.' # # Utilities: # r8mat_print_test() r8mat_print_some_test() r8mat_write_test() timestamp_test() # # Library. # sphere_fibonacci_grid_points_test() sphere_fibonacci_grid_display_test() # # Terminate. # print '' print 'SPHERE_FIBONACCI_GRID_TEST:' print ' Normal end of execution.'
def sphere_fibonacci_grid_test ( ): #*****************************************************************************80 # ## SPHERE_FIBONACCI_GRID_TEST tests the SPHERE_FIBONACCI_GRID library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 15 May 2015 # # Author: # # John Burkardt # from sphere_fibonacci_grid_display import sphere_fibonacci_grid_display_test from sphere_fibonacci_grid_points import sphere_fibonacci_grid_points_test from r8mat_print import r8mat_print_test from r8mat_print_some import r8mat_print_some_test from r8mat_write import r8mat_write_test from timestamp import timestamp_test print '' print 'SPHERE_FIBONACCI_GRID_TEST' print ' Python version:' print ' Test the SPHERE_FIBONACCI_GRID library.' # # Utilities: # r8mat_print_test ( ) r8mat_print_some_test ( ) r8mat_write_test ( ) timestamp_test ( ) # # Library. # sphere_fibonacci_grid_points_test ( ) sphere_fibonacci_grid_display_test ( ) # # Terminate. # print '' print 'SPHERE_FIBONACCI_GRID_TEST:' print ' Normal end of execution.'
def circle_arc_grid_test ( ): #*****************************************************************************80 # ## CIRCLE_ARC_GRID_TEST tests the CIRCLE_ARCE_GRID library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 17 April 2015 # # Author: # # John Burkardt # from circle_arc_grid_display import circle_arc_grid_display_test from circle_arc_grid_points import circle_arc_grid_points_test from r82col_print_part import r82col_print_part_test from r8mat_write import r8mat_write_test from timestamp import timestamp_test print '' print 'CIRCLE_ARC_GRID_TEST' print ' Python version:' print ' Test the CIRCLE_ARC_GRID library.' # # Utilities: # r82col_print_part_test ( ) r8mat_write_test ( ) timestamp_test ( ) # # Library. # circle_arc_grid_display_test ( ) circle_arc_grid_points_test ( ) # # Terminate. # print '' print 'CIRCLE_ARC_GRID_TEST:' print ' Normal end of execution.'
def circle_arc_grid_test(): #*****************************************************************************80 # ## CIRCLE_ARC_GRID_TEST tests the CIRCLE_ARCE_GRID library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 17 April 2015 # # Author: # # John Burkardt # from circle_arc_grid_display import circle_arc_grid_display_test from circle_arc_grid_points import circle_arc_grid_points_test from r82col_print_part import r82col_print_part_test from r8mat_write import r8mat_write_test from timestamp import timestamp_test print '' print 'CIRCLE_ARC_GRID_TEST' print ' Python version:' print ' Test the CIRCLE_ARC_GRID library.' # # Utilities: # r82col_print_part_test() r8mat_write_test() timestamp_test() # # Library. # circle_arc_grid_display_test() circle_arc_grid_points_test() # # Terminate. # print '' print 'CIRCLE_ARC_GRID_TEST:' print ' Normal end of execution.'
def table_io_test ( ): #*****************************************************************************80 # ## TABLE_IO_TEST tests the TABLE_IO library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 08 April 2015 # # Author: # # John Burkardt # from file_column_count import file_column_count_test from file_row_count import file_row_count_test from i4_log_10 import i4_log_10_test from i4mat_data_read import i4mat_data_read_test from i4mat_header_read import i4mat_header_read_test from i4mat_indicator import i4mat_indicator_test from i4mat_print import i4mat_print_test from i4mat_print_some import i4mat_print_some_test from i4mat_write import i4mat_write_test from i4vec_data_read import i4vec_data_read_test from i4vec_header_read import i4vec_header_read_test from i4vec_print import i4vec_print_test from i4vec_write import i4vec_write_test from r8mat_data_read import r8mat_data_read_test from r8mat_header_read import r8mat_header_read_test from r8mat_indicator import r8mat_indicator_test from r8mat_print import r8mat_print_test from r8mat_print_some import r8mat_print_some_test from r8mat_transpose_write import r8mat_transpose_write_test from r8mat_write import r8mat_write_test from r8vec_data_read import r8vec_data_read_test from r8vec_header_read import r8vec_header_read_test from r8vec_print import r8vec_print_test from r8vec_write import r8vec_write_test from timestamp import timestamp_test print '' print 'TABLE_IO_TEST' print ' Python version:' print ' Test the TABLE_IO library.' file_column_count_test ( ) file_row_count_test ( ) i4_log_10_test ( ) i4mat_indicator_test ( ) i4mat_print_test ( ) i4mat_print_some_test ( ) i4vec_print_test ( ) r8mat_indicator_test ( ) r8mat_print_test ( ) r8mat_print_some_test ( ) r8vec_print_test ( ) timestamp_test ( ) # # Write an I4MAT to a file, then read header and data. # i4mat_write_test ( ) i4mat_header_read_test ( ) i4mat_data_read_test ( ) # # Write an I4VEC to a file, then read header and data. # i4vec_write_test ( ) i4vec_header_read_test ( ) i4vec_data_read_test ( ) # # Write an R8MAT transposed to a file. # r8mat_transpose_write_test ( ) # # Write an R8MAT to a file, then read header and data. # r8mat_write_test ( ) r8mat_header_read_test ( ) r8mat_data_read_test ( ) # # Write an R8VEC to a file, then read header and data. # r8vec_write_test ( ) r8vec_header_read_test ( ) r8vec_data_read_test ( ) # # Terminate. # print '' print 'TABLE_IO_TEST' print ' Normal end of execution.'
def simplex_grid_test(): #*****************************************************************************80 # ## SIMPLEX_GRID_TEST tests the SIMPLEX_GRID library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 23 April 2015 # # Author: # # John Burkardt # from comp_next_grlex import comp_next_grlex_test from comp_random import comp_random_test from comp_random_grlex import comp_random_grlex_test from comp_rank_grlex import comp_rank_grlex_test from comp_unrank_grlex import comp_unrank_grlex_test from i4_choose import i4_choose_test from i4_uniform_ab import i4_uniform_ab_test from i4mat_print import i4mat_print_test from i4mat_print_some import i4mat_print_some_test from i4vec_print import i4vec_print_test from i4vec_sum import i4vec_sum_test from i4vec_uniform_ab import i4vec_uniform_ab_test from ksub_random2 import ksub_random2_test from r8_uniform_01 import r8_uniform_01_test from r8mat_print import r8mat_print_test from r8mat_print_some import r8mat_print_some_test from r8mat_write import r8mat_write_test from simplex_grid_count import simplex_grid_count_test from simplex_grid_index_all import simplex_grid_index_all_test from simplex_grid_index_next import simplex_grid_index_next_test from simplex_grid_index_sample import simplex_grid_index_sample_test from simplex_grid_index_to_point import simplex_grid_index_to_point_test01 from simplex_grid_index_to_point import simplex_grid_index_to_point_test02 from timestamp import timestamp_test print '' print 'SIMPLEX_GRID_TEST' print ' Python version:' print ' Test the SIMPLEX_GRID library.' # # Utilities: # comp_next_grlex_test() comp_random_test() comp_random_grlex_test() comp_rank_grlex_test() comp_unrank_grlex_test() i4_choose_test() i4_uniform_ab_test() i4mat_print_test() i4mat_print_some_test() i4vec_print_test() i4vec_sum_test() i4vec_uniform_ab_test() ksub_random2_test() r8_uniform_01_test() r8mat_print_test() r8mat_print_some_test() r8mat_write_test() timestamp_test() # # Library. # simplex_grid_count_test() simplex_grid_index_next_test() simplex_grid_index_sample_test() simplex_grid_index_all_test() simplex_grid_index_to_point_test01() simplex_grid_index_to_point_test02() # # Terminate. # print '' print 'SIMPLEX_GRID_TEST:' print ' Normal end of execution.'
def simplex_grid_test ( ): #*****************************************************************************80 # ## SIMPLEX_GRID_TEST tests the SIMPLEX_GRID library. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 23 April 2015 # # Author: # # John Burkardt # from comp_next_grlex import comp_next_grlex_test from comp_random import comp_random_test from comp_random_grlex import comp_random_grlex_test from comp_rank_grlex import comp_rank_grlex_test from comp_unrank_grlex import comp_unrank_grlex_test from i4_choose import i4_choose_test from i4_uniform_ab import i4_uniform_ab_test from i4mat_print import i4mat_print_test from i4mat_print_some import i4mat_print_some_test from i4vec_print import i4vec_print_test from i4vec_sum import i4vec_sum_test from i4vec_uniform_ab import i4vec_uniform_ab_test from ksub_random2 import ksub_random2_test from r8_uniform_01 import r8_uniform_01_test from r8mat_print import r8mat_print_test from r8mat_print_some import r8mat_print_some_test from r8mat_write import r8mat_write_test from simplex_grid_count import simplex_grid_count_test from simplex_grid_index_all import simplex_grid_index_all_test from simplex_grid_index_next import simplex_grid_index_next_test from simplex_grid_index_sample import simplex_grid_index_sample_test from simplex_grid_index_to_point import simplex_grid_index_to_point_test01 from simplex_grid_index_to_point import simplex_grid_index_to_point_test02 from timestamp import timestamp_test print '' print 'SIMPLEX_GRID_TEST' print ' Python version:' print ' Test the SIMPLEX_GRID library.' # # Utilities: # comp_next_grlex_test ( ) comp_random_test ( ) comp_random_grlex_test ( ) comp_rank_grlex_test ( ) comp_unrank_grlex_test ( ) i4_choose_test ( ) i4_uniform_ab_test ( ) i4mat_print_test ( ) i4mat_print_some_test ( ) i4vec_print_test ( ) i4vec_sum_test ( ) i4vec_uniform_ab_test ( ) ksub_random2_test ( ) r8_uniform_01_test ( ) r8mat_print_test ( ) r8mat_print_some_test ( ) r8mat_write_test ( ) timestamp_test ( ) # # Library. # simplex_grid_count_test ( ) simplex_grid_index_next_test ( ) simplex_grid_index_sample_test ( ) simplex_grid_index_all_test ( ) simplex_grid_index_to_point_test01 ( ) simplex_grid_index_to_point_test02 ( ) # # Terminate. # print '' print 'SIMPLEX_GRID_TEST:' print ' Normal end of execution.'