On Sat, May 18, 2024 at 09:21:27PM +0200, Ralf Hemmecke wrote:
> Hmmmm, am somehow unable to find where the transformation to the SExpression
> below happens. Does that have to do with '%specialDisp?
> But even then I could not find a special treatment for 'factorial.

This is regular '%display' property, set in BasicOperator.

> Background of this question.
> I actually wanted to tweak Format1D locally so that it prints
> factorial(a) instead of a!. But obviously ยด'factorial is not a known
> operator for OutputForm, so it is basically impossible to output factorial
> differently.

'display' will set '%display' property to value that you give.
But this value will affect translation to OutputForm, so all
formatters.

-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ZkkQjJx-6Cb1ajoe%40fricas.org.

Reply via email to