~ubuntu-branches/ubuntu/precise/genius/precise

« back to all changes in this revision

Viewing changes to lib/linear_algebra/special_matrices.gel

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-11-25 18:47:12 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101125184712-976dbu8xmm3x2vsa
Tags: 1.0.12-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
#       pascal matrix
41
41
#       toeplitz matrix 
42
42
#               constant along diagonals
43
 
#               take first column, first row (or just first row, and then make hermitian, i.e., set first column = conjugate of first row)
 
43
#               take first column, first row (or just first row, and then make Hermitian, i.e., set first column = conjugate of first row)
44
44
#       wilkinson (tridiagonal -- once off diagonals are all 1s, and the diagonal goes:
45
45
# 3 2 1 0 1 2 3 (say, for n=7)
46
46
# or