def gk323_determinant_test ( ): #*****************************************************************************80 # ## GK323_DETERMINANT_TEST tests GK323_DETERMINANT. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 08 February 2015 # # Author: # # John Burkardt # from gk323 import gk323 from r8mat_print import r8mat_print print '' print 'GK323_DETERMINANT_TEST' print ' GK323_DETERMINANT computes the GK323 determinant.' m = 5 n = m a = gk323 ( m, n ) r8mat_print ( m, n, a, ' GK323 matrix:' ) value = gk323_determinant ( n ) print ' Value = %g' % ( value ) print '' print 'GK323_DETERMINANT_TEST' print ' Normal end of execution.' return
def gk323_test ( ): #*****************************************************************************80 # ## GK323_TEST tests GK323. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 08 February 2015 # # Author: # # John Burkardt # from r8mat_print import r8mat_print print '' print 'GK323_TEST' print ' GK323 computes the GK323 matrix.' m = 5 n = m a = gk323 ( m, n ) r8mat_print ( m, n, a, ' GK323 matrix:' ) print '' print 'GK323_TEST' print ' Normal end of execution.' return