If there is a need to extend sympy operations in a jupyter friendly manner, it might also be possible to add the operations you want to the Algebra-with-Sympy <https://gutow.github.io/Algebra_with_Sympy/> package. The hope is the user interface utilities will eventually be incorporated into sympy proper.
Full disclosure: I am the primary author of Algebra-with-Sympy. Jonathan On Friday, November 4, 2022 at 9:40:40 AM UTC-5 kuldeepbo...@gmail.com wrote: > I would suggest you can open an issue on sympy git repository issues tab > https://github.com/sympy/sympy/issues and describe which new feature you > would like to add in SymPy and discuss there for a bit if that could be > implemented in SymPy or not and then to get started working on that issue > you can check this out > https://github.com/sympy/sympy/wiki/Development-workflow I think this > would surely help, go through this once and if you require any help along > the way then you can just post comments on that issue or ask for help > regarding the same, SymPy community will be there to help you : ) > > > On Nov 4, 2022 at 7:53 PM, Phil Williams <pwil...@tkc.edu> wrote: > > 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+un...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/a769d661-0dbd-41f6-bd8e-9cf579f268aan%40googlegroups.com > > <https://groups.google.com/d/msgid/sympy/a769d661-0dbd-41f6-bd8e-9cf579f268aan%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- 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/2c594d18-3668-4d1b-bdd7-4395d6983d65n%40googlegroups.com.