+/**
+ * \file math_matrixinset.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
+#include <config.h>
#include "math_matrixinset.h"
-#include "math_parser.h"
+#include "math_data.h"
#include "math_mathmlstream.h"
-#include "Lsstream.h"
+
+using std::auto_ptr;
MathMatrixInset::MathMatrixInset(MathGridInset const & p)
{}
-MathInset * MathMatrixInset::clone() const
+auto_ptr<InsetBase> MathMatrixInset::clone() const
{
- return new MathMatrixInset(*this);
+ return auto_ptr<InsetBase>(new MathMatrixInset(*this));
}
}
-void MathMatrixInset::maplize(MapleStream & os) const
+void MathMatrixInset::maple(MapleStream & os) const
{
os << "matrix(" << int(nrows()) << ',' << int(ncols()) << ",[";
for (idx_type idx = 0; idx < nargs(); ++idx) {
}
-void MathMatrixInset::maximize(MaximaStream & os) const
+void MathMatrixInset::maxima(MaximaStream & os) const
{
os << "matrix(";
for (row_type row = 0; row < nrows(); ++row) {
}
-void MathMatrixInset::octavize(OctaveStream & os) const
+void MathMatrixInset::octave(OctaveStream & os) const
{
os << '[';
for (row_type row = 0; row < nrows(); ++row) {