Re: [sympy] Defining custom invertible functions

2018-09-12 Thread Aaron Meurer
On Wed, Sep 12, 2018 at 7:47 AM, Oscar Benjamin wrote: > Hi, > > I was just looking at a way to solve ODEs algebraically and came up with the > code below which almost works (just needs integration constants). I have a > few questions though. > > 1. What is the right way to define an arbitrary

[sympy] Defining custom invertible functions

2018-09-12 Thread Oscar Benjamin
Hi, I was just looking at a way to solve ODEs algebraically and came up with the code below which almost works (just needs integration constants). I have a few questions though. 1. What is the right way to define an arbitrary invertible function and its inverse? 2. Is the code below abusing