]> git.lyx.org Git - features.git/blobdiff - src/mathed/array.C
fix the matrix reading other small cleanup
[features.git] / src / mathed / array.C
index eba96ab49546616a7ac21e63d35352959502626b..2ef09bf7c9c2ef42f244ec2bf3f0d2b8563bd67a 100644 (file)
@@ -280,3 +280,16 @@ byte & MathedArray::operator[](int i)
 {
        return bf_[i];
 }
+
+
+void MathedArray::dump(ostream & os) const
+{
+       buffer_type::const_iterator cit = bf_.begin();
+       buffer_type::const_iterator end = bf_.end();
+       for (; cit != end; ++cit) {
+               os << (*cit);
+       }
+       os << endl;
+}
+
+