[sage-support] Extended Operations on Symbols

2020-04-26 Thread Jin Guu
I am writing a calculator for various 'q' quantities, and often find that I need to manipulate symbols more flexibly. For example, I have to deal with the expression ( q + q^(-1) ) ^ (1/2) -- (*) But currently I could not find any way to achieve this. A naive attempt gives a fa

[sage-support] Re: Extended Operations on Symbols

2020-04-26 Thread Jin Guu
Woah! Thank you so much! p.s. I said it's naive because I have no better idea.. perhaps there's a better wording. Sorry for that. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it,

[sage-support] Is log_html() deprecated?

2020-04-29 Thread Jin Guu
I'd like to log my entire session in sage into a file. The best solution I found is to use log_html(). http://doc.sagemath.org/html/en/reference/misc/sage/misc/log.html But the functions seems deprecated, and the document about it I've found is more than a decade. sage: log_html() -

[sage-support] Re: Is log_html() deprecated?

2020-04-29 Thread Jin Guu
Apology for more stupid questions. I imported and it loaded, but still failed: sage: from sage.misc.log import log_html sage: log_html sage: log_html() --- AttributeErrorTraceback (most recent cal