• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python r8mat_print.r8mat_print函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中r8mat_print.r8mat_print函数的典型用法代码示例。如果您正苦于以下问题:Python r8mat_print函数的具体用法?Python r8mat_print怎么用?Python r8mat_print使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了r8mat_print函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: complex_i_test

def complex_i_test ( ):

#*****************************************************************************80
#
## COMPLEX_I_TEST tests COMPLEX_I.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    09 January 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'COMPLEX_I_TEST'
  print '  COMPLEX_I computes the COMPLEX_I matrix.'

  m = 2
  n = m

  a = complex_i ( )
  r8mat_print ( m, n, a, '  COMPLEX_I matrix:' )

  print ''
  print 'COMPLEX_I_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:35,代码来源:complex_i.py


示例2: rutis1_test

def rutis1_test ( ):

#*****************************************************************************80
#
## RUTIS1_TEST tests RUTIS1.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    24 January 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'RUTIS1_TEST'
  print '  RUTIS1 computes the RUTIS1 matrix.'

  n = 4
  a = rutis1 ( )
  r8mat_print ( n, n, a, '  RUTIS1 matrix:' )

  print ''
  print 'RUTIS1_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:33,代码来源:rutis1.py


示例3: r8mat_data_read_test

def r8mat_data_read_test ( ):

#*****************************************************************************80
#
## R8MAT_DATA_READ_TEST tests R8MAT_DATA_READ.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    03 December 2014
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'R8MAT_DATA_READ_TEST:'
  print '  Test R8MAT_DATA_READ, which reads data from an R8MAT.'

  m = 5
  n = 3
  filename = 'r8mat_write_test.txt'
  a = r8mat_data_read ( filename, m, n )
  r8mat_print ( m, n, a, '  Data read from file:' )

  print ''
  print 'R8MAT_DATA_READ_TEST:'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:35,代码来源:r8mat_data_read.py


示例4: oto_test

def oto_test ( ):

#*****************************************************************************80
#
## OTO_TEST tests OTO.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    22 December 2014
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'OTO_TEST'
  print '  OTO computes the OTO matrix.'

  m = 5
  n = m
  a = oto ( m, n )
  r8mat_print ( m, n, a, '  OTO matrix:' )

  print ''
  print 'OTO_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:34,代码来源:oto.py


示例5: fibonacci2_test

def fibonacci2_test ( ):

#*****************************************************************************80
#
## FIBONACCI2_TEST tests FIBONACCI2.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    28 January 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'FIBONACCI2_TEST'
  print '  FIBONACCI2 computes the FIBONACCI2 matrix.'

  m = 5
  n = m

  a = fibonacci2 ( n )
  r8mat_print ( m, n, a, '  FIBONACCI2 matrix:' )

  print ''
  print 'FIBONACCI2_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:35,代码来源:fibonacci2.py


示例6: sylvester_kac_test

def sylvester_kac_test ( ):

#*****************************************************************************80
#
## SYLVESTER_KAC_TEST tests SYLVESTER_KAC.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    13 April 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'SYLVESTER_KAC_TEST'
  print '  SYLVESTER_KAC computes the SYLVESTER_KAC matrix.'

  m = 5
  n = m
  a = sylvester_kac ( n )
  r8mat_print ( m, n, a, '  SYLVESTER_KAC matrix:' )

  print ''
  print 'SYLVESTER_KAC_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:34,代码来源:sylvester_kac.py


示例7: rosser1_test

def rosser1_test ( ):

#*****************************************************************************80
#
## ROSSER1_TEST tests ROSSER1.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    10 February 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'ROSSER1_TEST'
  print '  ROSSER1 computes the ROSSER1 matrix.'

  n = 8
  a = rosser1 ( )
  r8mat_print ( n, n, a, '  ROSSER1 matrix:' )

  print ''
  print 'ROSSER1_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:33,代码来源:rosser1.py


示例8: permutation_random_test

def permutation_random_test ( ):

#*****************************************************************************80
#
## PERMUTATION_RANDOM_TEST tests PERMUTATION_RANDOM.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    27 March 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'PERMUTATION_RANDOM_TEST'
  print '  PERMUTATION_RANDOM computes the PERMUTATION_RANDOM matrix.'

  n = 5

  key = 123456789
  a = permutation_random ( n, key )
  r8mat_print ( n, n, a, '  PERMUTATION_RANDOM matrix:' )

  print ''
  print 'PERMUTATION_RANDOM_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:35,代码来源:permutation_random.py


示例9: orth_symm_test

def orth_symm_test ( ):

#*****************************************************************************80
#
## ORTH_SYMM_TEST tests ORTH_SYMM.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    05 February 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'ORTH_SYMM_TEST'
  print '  ORTH_SYMM computes the ORTH_SYMM matrix.'

  m = 5
  n = 5
  a = orth_symm ( n )
  r8mat_print ( m, n, a, '  ORTH_SYMM matrix:' )

  print ''
  print 'ORTH_SYMM_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:34,代码来源:orth_symm.py


示例10: eulerian_test

def eulerian_test ( ):

#*****************************************************************************80
#
## EULERIAN_TEST tests EULERIAN.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    25 January 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'EULERIAN_TEST'
  print '  EULERIAN computes the EULERIAN matrix.'

  m = 4
  n = m

  a = eulerian ( m, n )
  r8mat_print ( m, n, a, '  EULERIAN matrix:' )

  print ''
  print 'EULERIAN_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:35,代码来源:eulerian.py


示例11: maxij_test

def maxij_test():

    # *****************************************************************************80
    #
    ## MAXIJ_TEST tests MAXIJ.
    #
    #  Licensing:
    #
    #    This code is distributed under the GNU LGPL license.
    #
    #  Modified:
    #
    #    26 January 2015
    #
    #  Author:
    #
    #    John Burkardt
    #
    from r8mat_print import r8mat_print

    print ""
    print "MAXIJ_TEST"
    print "  MAXIJ computes the MAXIJ matrix."

    m = 5
    n = 5
    a = maxij(m, n)
    r8mat_print(m, n, a, "  MAXIJ matrix:")

    print ""
    print "MAXIJ_TEST"
    print "  Normal end of execution."

    return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:34,代码来源:maxij.py


示例12: moler3_test

def moler3_test ( ):

#*****************************************************************************80
#
## MOLER3_TEST tests MOLER3.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    26 January 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'MOLER3_TEST'
  print '  MOLER3 computes the MOLER3 matrix.'

  m = 5
  n = m

  a = moler3 ( m, n )
  r8mat_print ( m, n, a, '  MOLER3 matrix:' )

  print ''
  print 'MOLER3_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:35,代码来源:moler3.py


示例13: ring_adj_test

def ring_adj_test ( ):

#*****************************************************************************80
#
## RING_ADJ_TEST tests RING_ADJ.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    12 March 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'RING_ADJ_TEST'
  print '  RING_ADJ computes the RING_ADJ matrix.'

  m = 6
  n = m

  a = ring_adj ( m, n )
  r8mat_print ( m, n, a, '  RING_ADJ matrix:' )

  print ''
  print 'RING_ADJ_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:35,代码来源:ring_adj.py


示例14: one_test

def one_test ( ):

#*****************************************************************************80
#
## ONE_TEST tests ONE.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    20 February 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'ONE_TEST'
  print '  ONE computes the ONE matrix.'

  m = 4
  n = m

  a = one ( m, n )
  r8mat_print ( m, n, a, '  ONE matrix:' )

  print ''
  print 'ONE_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:35,代码来源:one.py


示例15: conex4_test

def conex4_test():

    # *****************************************************************************80
    #
    ## CONEX4_TEST tests CONEX4.
    #
    #  Licensing:
    #
    #    This code is distributed under the GNU LGPL license.
    #
    #  Modified:
    #
    #    20 January 2015
    #
    #  Author:
    #
    #    John Burkardt
    #
    from r8mat_print import r8mat_print

    print ""
    print "CONEX4_TEST"
    print "  CONEX4 computes the CONEX4 matrix."

    m = 4
    n = m

    a = conex4()
    r8mat_print(m, n, a, "  CONEX4 matrix:")

    print ""
    print "CONEX4_TEST"
    print "  Normal end of execution."

    return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:35,代码来源:conex4.py


示例16: wilson_test

def wilson_test ( ):

#*****************************************************************************80
#
## WILSON_TEST tests WILSON.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    20 December 2014
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'WILSON_TEST'
  print '  WILSON computes the WILSON matrix.'

  n = 4
  a = wilson ( )
  r8mat_print ( n, n, a, '  WILSON matrix:' )

  print ''
  print 'WILSON_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:33,代码来源:wilson.py


示例17: conference_test

def conference_test ( ):

#*****************************************************************************80
#
## CONFERENCE_TEST tests CONFERENCE.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    19 April 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'CONFERENCE_TEST'
  print '  CONFERENCE computes the CONFERENCE matrix.'
#
#  Note that N-1 must be an odd prime or a power of an odd prime.
#
  n = 6
  a = conference ( n )
  r8mat_print ( n, n, a, '  CONFERENCE matrix:' )

  print ''
  print 'CONFERENCE_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:35,代码来源:conference.py


示例18: boothroyd_test

def boothroyd_test ( ):

#*****************************************************************************80
#
## BOOTHROYD_TEST tests BOOTHROYD.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    27 December 2014
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'BOOTHROYD_TEST'
  print '  BOOTHROYD computes the BOOTHROYD matrix.'

  m = 5
  n = m
  a = boothroyd ( n )
  r8mat_print ( m, n, a, '  BOOTHROYD matrix:' )

  print ''
  print 'BOOTHROYD_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:34,代码来源:boothroyd.py


示例19: harman_test

def harman_test ( ):

#*****************************************************************************80
#
## HARMAN_TEST tests HARMAN.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    10 February 2015
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'HARMAN_TEST'
  print '  HARMAN computes the HARMAN matrix.'

  n = 8
  a = harman ( )
  r8mat_print ( n, n, a, '  HARMAN matrix:' )

  print ''
  print 'HARMAN_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:33,代码来源:harman.py


示例20: summation_test

def summation_test ( ):

#*****************************************************************************80
#
## SUMMATION_TEST tests SUMMATION.
#
#  Licensing:
#
#    This code is distributed under the GNU LGPL license.
#
#  Modified:
#
#    17 December 2014
#
#  Author:
#
#    John Burkardt
#
  from r8mat_print import r8mat_print

  print ''
  print 'SUMMATION_TEST'
  print '  SUMMATION computes the SUMMATION matrix.'

  m = 5
  n = 4
  a = summation ( m, n )
  r8mat_print ( m, n, a, '  SUMMATION matrix:' )

  print ''
  print 'SUMMATION_TEST'
  print '  Normal end of execution.'

  return
开发者ID:johannesgerer,项目名称:jburkardt-py,代码行数:34,代码来源:summation.py



注:本文中的r8mat_print.r8mat_print函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python r8vec_uniform_ab.r8vec_uniform_ab函数代码示例发布时间:2022-05-26
下一篇:
Python scdmesh.ScdMesh类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap