algebraixlib.util.mathobjectprinter module¶
Pretty-printing of MathObject
s.
-
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
MathObject
math_object
as a readable string.Parameters: - abbreviated – If
False
spell outMathObject
names; ifTrue
use shorter symbols. - indent_text – The string used when indenting.
- indent – The accumulated indent that is increased using
indent_text
during recursive calls. - max_line_len – The maximum number of characters per line. Longer lines are truncated.
- abbreviated – If