def redheffer_determinant_test ( ): #*****************************************************************************80 # ## REDHEFFER_DETERMINANT_TEST tests REDHEFFER_DETERMINANT. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 22 February 2015 # # Author: # # John Burkardt # from redheffer import redheffer from r8mat_print import r8mat_print print '' print 'REDHEFFER_DETERMINANT_TEST' print ' REDHEFFER_DETERMINANT computes the REDHEFFER determinant.' m = 5 n = m a = redheffer ( n ) r8mat_print ( m, n, a, ' REDHEFFER matrix:' ) value = redheffer_determinant ( n ) print ' Value = %g' % ( value ) print '' print 'REDHEFFER_DETERMINANT_TEST' print ' Normal end of execution.' return
def redheffer_determinant_test(): #*****************************************************************************80 # ## REDHEFFER_DETERMINANT_TEST tests REDHEFFER_DETERMINANT. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 22 February 2015 # # Author: # # John Burkardt # from redheffer import redheffer from r8mat_print import r8mat_print print '' print 'REDHEFFER_DETERMINANT_TEST' print ' REDHEFFER_DETERMINANT computes the REDHEFFER determinant.' m = 5 n = m a = redheffer(n) r8mat_print(m, n, a, ' REDHEFFER matrix:') value = redheffer_determinant(n) print ' Value = %g' % (value) print '' print 'REDHEFFER_DETERMINANT_TEST' print ' Normal end of execution.' return
def redheffer_test ( ): #*****************************************************************************80 # ## REDHEFFER_TEST tests REDHEFFER. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 22 February 2015 # # Author: # # John Burkardt # from r8mat_print import r8mat_print print '' print 'REDHEFFER_TEST' print ' REDHEFFER computes the REDHEFFER matrix.' m = 5 n = m a = redheffer ( n ) r8mat_print ( m, n, a, ' REDHEFFER matrix:' ) print '' print 'REDHEFFER_TEST' print ' Normal end of execution.' return
def redheffer_test(): #*****************************************************************************80 # ## REDHEFFER_TEST tests REDHEFFER. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 22 February 2015 # # Author: # # John Burkardt # from r8mat_print import r8mat_print print '' print 'REDHEFFER_TEST' print ' REDHEFFER computes the REDHEFFER matrix.' m = 5 n = m a = redheffer(n) r8mat_print(m, n, a, ' REDHEFFER matrix:') print '' print 'REDHEFFER_TEST' print ' Normal end of execution.' return