}
-void MathGridInset::write(MathWriteInfo & os) const
+void MathGridInset::write(WriteStream & os) const
{
for (row_type row = 0; row < nrows(); ++row) {
for (col_type col = 0; col < ncols(); ++col)
}
-void MathGridInset::writeNormal(NormalStream & os) const
+void MathGridInset::normalize(NormalStream & os) const
{
os << "[grid ";
for (row_type row = 0; row < nrows(); ++row) {
return res;
}
-
-void MathGridInset::maplize(MapleStream & os) const
-{
- os << "array([";
- for (row_type row = 0; row < nrows(); ++row) {
- if (row)
- os << ',';
- os << '[';
- for (col_type col = 0; col < ncols(); ++col) {
- if (col)
- os << ',';
- os << cell(index(row, col));
- }
- os << ']';
- }
- os << "])";
-}
-
-
-void MathGridInset::mathmlize(MathMLStream & os) const
-{
- os << MTag("mtable");
- for (row_type row = 0; row < nrows(); ++row) {
- os << MTag("mtr");
- for (col_type col = 0; col < ncols(); ++col)
- os << cell(index(row, col));
- os << ETag("mtr");
- }
- os << ETag("mtable");
-}
-
-
-void MathGridInset::octavize(OctaveStream & os) const
-{
- os << '[';
- for (row_type row = 0; row < nrows(); ++row) {
- if (row)
- os << ';';
- os << '[';
- for (col_type col = 0; col < ncols(); ++col)
- os << cell(index(row, col)) << ' ';
- os << ']';
- }
- os << ']';
-}