algebraixlib.util.mathobjectprinter module¶
Pretty-printing of MathObjects.
-
algebraixlib.util.mathobjectprinter.mo_to_str(math_object: algebraixlib.mathobjects.mathobject.MathObject, abbreviated=False, indent_text=' ', indent='', max_line_len=95)[source]¶ Return the contents of the
MathObjectmath_objectas a readable string.Parameters: - abbreviated – If
Falsespell outMathObjectnames; ifTrueuse shorter symbols. - indent_text – The string used when indenting.
- indent – The accumulated indent that is increased using
indent_textduring recursive calls. - max_line_len – The maximum number of characters per line. Longer lines are truncated.
- abbreviated – If