Hello sage-suport community, I am working with a CombinatorialFreeModule with a multiplication defined using the product_on_basis method. Inside the call of product_on_basis I actually do multiplications in the algebra so that it becomes something of a recursive function. After the outermost call originating from the user I would like to run an additional command to clean up and simplify the output, whereas right now it is run on every iteration, greatly slowing the calculation. Also the user might type an expression containing many multiplications and ideally the simplifying command would only be called after the final multiplication has been performed. Any thoughts on how to insert such a command?
Thank you! -- 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, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
