In a notebook, printing a sympy matrix is not difficult
However this doesn't work for formatted strings:
How can I do to maintain the symbolic representation in the formatted string?
Textual code:
import sympy
sympy.init_printing()
C = sympy.Matrix([[2, 3], [4, 5]])
display (C)
display (f'{C} x {C} = {C*C}')

