LINEAR++ library: AFF to LAPACK

◆ dump()

void dump ( const Tmatrix::Tcoc &  m)

Definition at line 58 of file lapacktest.cc.

59 {
60  const int width=15;
61  const int precision=5;
62  cout.width(width);
63  cout << " ";
64  for (int i=m.first(1); i<=m.last(1); ++i)
65  {
66  cout.width(width);
67  cout << i;
68  }
69  cout << endl;
70  for (int j=m.first(0); j<=m.last(0); ++j)
71  {
72  cout.width(width);
73  cout << j;
74  for (int i=m.first(1); i<=m.last(1); ++i)
75  {
76  cout.width(width);
77  cout.precision(precision);
78  cout << m(j,i);
79  }
80  cout << endl;
81  }
82 } // void dump(const Tmatrix::Tcoc& m)