ReadonlydisplayASCIIMath rendering of the current state (terminal output, not chainable).
ReadonlytexLaTeX rendering of the current state (terminal output, not chainable).
Copy the mathematical state of another instance into this (display
state is NOT transferred — the receiver keeps its own formatting). Entry
point used when constructing/parsing from a same-type input. Distinct from
clone. Classes without a real implementation throw
NotImplementedError.
Base contract of every PiMath value object: a displayable, duplicable mathematical entity.
Note: construction (
parse/from***) is intentionally NOT part of this contract — input shapes are class-specific and handled per class, not polymorphically. See.claude/specs/pimath-architecture.md.