Definition at line 1316 of file matrix.cpp.
1317{
1321
1322 buffer *
p =
new buffer[nrows];
1323
1324 int r;
1325 for (int c = 0; c < ncols; c++)
1326 {
1327 int maxcount = 0;
1328 for (r = 0; r < nrows; r++)
1329 {
1330 ring_elem f =
elem(r, c);
1331 R->elem_text_out(
p[r], f);
1332 R->remove(f);
1333 if (
p[r].size() > maxcount) maxcount =
p[r].size();
1334 }
1335 for (r = 0; r < nrows; r++)
1336 for (
int k = maxcount + 1 -
p[r].size(); k > 0; k--)
p[r] <<
' ';
1337 }
1338 for (r = 0; r < nrows; r++)
1339 {
1341 char *
s =
p[r].str();
1343 }
1345}
const Ring * get_ring() const
ring_elem elem(int i, int j) const
References elem(), get_ring(), n_cols(), n_rows(), newline, p, s, and text_out().
Referenced by GBKernelComputation::calc(), dmatrix(), IM2_Matrix_to_string(), random(), newf4::GBF4Computation::showInput(), and text_out().