]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_rootinset.C
parse octave output as matrix if necessary
[features.git] / src / mathed / math_rootinset.C
index d7dbad49431ce5a1034326669a5eb5e081d4d362..cc143bef377f4247350e8a8cd1049eb7f7d47f11 100644 (file)
@@ -92,3 +92,9 @@ bool MathRootInset::idxDown(int & idx, int & pos) const
        pos = 0;
        return true;
 }
+
+
+string MathRootInset::octavize() const
+{
+       return "root(" + cell(1).octavize() + ',' + cell(0).octavize() + ')';
+}