qalgebra.printing.sreprprinter module¶
Provides printers for a full-structured representation
Summary¶
Classes:
Printer for rendering an expression in such a way that the resulting string can be evaluated in an appropriate context to re-instantiate an identical object, using nested indentation (implementing |
|
Indented repr printer for Sympy objects. |
|
Printer for a string (ASCII) representation. |
Reference¶
-
class
qalgebra.printing.sreprprinter.
QalgebraSReprPrinter
(cache=None, settings=None)[source]¶ Bases:
qalgebra.printing.base.QalgebraBasePrinter
Printer for a string (ASCII) representation.
-
sympy_printer_cls
¶
-
-
class
qalgebra.printing.sreprprinter.
IndentedSympyReprPrinter
(settings=None)[source]¶ Bases:
qalgebra.printing.sympy.SympyReprPrinter
Indented repr printer for Sympy objects.
-
class
qalgebra.printing.sreprprinter.
IndentedSReprPrinter
(cache=None, settings=None)[source]¶ Bases:
qalgebra.printing.base.QalgebraBasePrinter
Printer for rendering an expression in such a way that the resulting string can be evaluated in an appropriate context to re-instantiate an identical object, using nested indentation (implementing
srepr(expr, indented=True)
-
sympy_printer_cls
¶ alias of
qalgebra.printing.sreprprinter.IndentedSympyReprPrinter
-