I use sympy for matrix calculations in my Finite Math class that I teach. I have students working in a Jupyter Notebook. What I want is a student-friendly interface for in-place row operations on matrices, so that they can work problems step by step that require these operations (e.g. solving systems by row reduction). Right now the Matrix class in sympy has methods row_swap, and row_op. The former, row_swap is fine, but row_op has a general functorial definition that is too advanced for them. I want instead row_add and row_mult methods that specify the basic data of the operation as inputs (e.g. for row_add, source row, target row, and factor that the source row gets multiplied by before adding to target), and modifies the matrix in place.
Right now, I write a bit of code for them to redefine the Matrix class and adds these two methods to it, and then have them work with that. However, I'm wondering if these methods can be added to sympy. It would be useful to them and perhaps others using sympy in a classroom. I'm confident I know what needs to be done, but I'm inexperienced with open source and I'm not sure where to begin in suggesting this change be incorporated. Just exploring this question led me to the idea that posting here might be a good first step. Any advice would be appreciated! Thank you. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/a769d661-0dbd-41f6-bd8e-9cf579f268aan%40googlegroups.com.