On Thursday, 18 June 2015 17:59:54 UTC+2, brombo wrote:
>
>
> I added -
>
> Matrix.__repr__ = lambda self: GaLatexPrinter().doprint(self)
>
> but it made no difference in the output.
>
>
With the information you provided, I can only try a guess.
Have you checked if *__repr__* gets overwritten b
I should clarify what I am doing. I have custom latex printers for Matrix,
Derivative, Function, Pow, and Symbol. All work fine when generating a tex
file for input to pdflatex. Except for Matrix all work fine in printing
latex in "ipython notebook." I don't know what is different about Matrix.
Hi all
I was looking on the issue https://github.com/sympy/sympy/issues/8531
though i disagree for that simplification to occur.
>>> n = Symbol('n', integer=True, positiv=True)
>>> factrial(n)*(n+1) # i think this should not be simplified to
factorial(n+1)
factorial(n)*(n+1)# current