def lotkin_test ( ): #*****************************************************************************80 # ## LOTKIN_TEST tests LOTKIN. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 18 February 2015 # # Author: # # John Burkardt # from r8mat_print import r8mat_print print '' print 'LOTKIN_TEST' print ' LOTKIN computes the LOTKIN matrix.' m = 4 n = m a = lotkin ( m, n ) r8mat_print ( m, n, a, ' LOTKIN matrix:' ) print '' print 'LOTKIN_TEST' print ' Normal end of execution.' return
def lotkin_test(): #*****************************************************************************80 # ## LOTKIN_TEST tests LOTKIN. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 18 February 2015 # # Author: # # John Burkardt # from r8mat_print import r8mat_print print '' print 'LOTKIN_TEST' print ' LOTKIN computes the LOTKIN matrix.' m = 4 n = m a = lotkin(m, n) r8mat_print(m, n, a, ' LOTKIN matrix:') print '' print 'LOTKIN_TEST' print ' Normal end of execution.' return
def lotkin_determinant_test ( ): #*****************************************************************************80 # ## LOTKIN_DETERMINANT_TEST tests LOTKIN_DETERMINANT. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 18 February 2015 # # Author: # # John Burkardt # from lotkin import lotkin from r8mat_print import r8mat_print print '' print 'LOTKIN_DETERMINANT_TEST' print ' LOTKIN_DETERMINANT computes the determinant of the LOTKIN matrix.' print '' m = 4 n = m a = lotkin ( m, n ) r8mat_print ( m, n, a, ' LOTKIN matrix:' ) value = lotkin_determinant ( n ) print '' print ' Value = %g' % ( value ) print '' print 'LOTKIN_DETERMINANT_TEST' print ' Normal end of execution.' return
def lotkin_determinant_test(): #*****************************************************************************80 # ## LOTKIN_DETERMINANT_TEST tests LOTKIN_DETERMINANT. # # Licensing: # # This code is distributed under the GNU LGPL license. # # Modified: # # 18 February 2015 # # Author: # # John Burkardt # from lotkin import lotkin from r8mat_print import r8mat_print print '' print 'LOTKIN_DETERMINANT_TEST' print ' LOTKIN_DETERMINANT computes the determinant of the LOTKIN matrix.' print '' m = 4 n = m a = lotkin(m, n) r8mat_print(m, n, a, ' LOTKIN matrix:') value = lotkin_determinant(n) print '' print ' Value = %g' % (value) print '' print 'LOTKIN_DETERMINANT_TEST' print ' Normal end of execution.' return