On Sat, Mar 24, 2012 at 7:57 PM, Saptarshi Mandal
<[email protected]> wrote:
>>
>> > I don't think sympy has an ODE systems solver. That would be very useful 
>> > for my
>> > DE students, even if for only the 2x2 and 3x3 case.
>>
>> Oh yes, I forgot about this.  I don't see any reason why it shouldn't
>> be able to handle the nxn case of a linear system.  You can also
>> implement methods for solving non-linear systems that decouple.
>>
>
>
> Kristen: I have a pull request on hold regarding this. I can hand
> over that work to you.
>
>> Relating to this, it would be useful to add some methods that don't
>> necessarily solve ODEs, but manipulate them.  For example, you could
>> have a method that takes a higher order ODE and converts it into a
>> system of 1st order ODEs.  Take a look at Maple's DETools package for
>> some more ideas.
>>
>
> A *very* good idea. Is there some scope for code deduplication in this
> case as well? I mean, do you perform some simplification in each of
> the
> techniques you have implemented that can be factored out into a common
> function?

We should definitely do this.  I've already come across one situation
where this should happen, which is that we should factor out the
function that computes the variation of parameters into a user-level
function, so that you can just pass it a linear ODE of order n and n
linearly independent solutions, and it will return the variation of
parameters.  This way, even if the particular solver for the
homogeneous case is not yet implemented, you can still use the method
if you have the linearly independent set of solutions.

Needless to say, there's plenty of work that can be done in the ODE module :)

Aaron Meurer

>
>> And if you search the issues, you'll see that we still need support
>> for initial/boundary conditions, and there is also an issue for
>> improving the situation of arbitrary constant simplification.
>>
>> Aaron Meurer
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> >>> And by the way, "more complete PDE solver" is putting it kindly.  We
>>
>> >>> currently have *no* PDE solver, just a couple of helper methods for
>> >>> separation of variables.
>>
>> >>> Aaron Meurer
>>
>> >>> > What do you plan on implementing?
>>
>> >>> > Cheers!
>> >>> > Saptarshi
>>
>> >>> > --
>> >>> > You received this message because you are subscribed to the Google
>> >>> > Groups "sympy" group.
>> >>> > To post to this group, send email to [email protected].
>> >>> > To unsubscribe from this group, send email to
>> >>> > [email protected].
>> >>> > For more options, visit this group at
>> >>> >http://groups.google.com/group/sympy?hl=en.
>>
>> >> On Saturday, March 24, 2012 5:27:37 PM UTC-4, Aaron Meurer wrote:
>>
>> >>> On Sat, Mar 24, 2012 at 10:10 AM, Saptarshi Mandal
>> >>> <[email protected]> wrote:
>> >>> >> Another idea I had was adding support for more advanced calculus.
>>
>> >>> > Sympy already has support for much that is covered in 2nd year
>> >>> > Calculus (ODEs, transform calculus and a reasonably good integrator)
>>
>> >>> > Vector calculus is still required as is a more complete PDE solver.
>>
>> >>> You could also make a project out of further improving the ODE solver.
>> >>>  It can already solve most types of ODEs taught in a first level
>> >>> course, but there are tons of ODE solving methods that are not yet
>> >>> implemented.
>>
>> >>> And by the way, "more complete PDE solver" is putting it kindly.  We
>> >>> currently have *no* PDE solver, just a couple of helper methods for
>> >>> separation of variables.
>>
>> >>> Aaron Meurer
>>
>> >>> > What do you plan on implementing?
>>
>> >>> > Cheers!
>> >>> > Saptarshi
>>
>> >>> > --
>> >>> > You received this message because you are subscribed to the Google
>> >>> > Groups "sympy" group.
>> >>> > To post to this group, send email to [email protected].
>> >>> > To unsubscribe from this group, send email to
>> >>> > [email protected].
>> >>> > For more options, visit this group at
>> >>> >http://groups.google.com/group/sympy?hl=en.
>>
>> >> --
>> >> You received this message because you are subscribed to the Google Groups
>> >> "sympy" group.
>> >> To view this discussion on the web visit
>> >>https://groups.google.com/d/msg/sympy/-/hy7YqbCkUQkJ.
>>
>> >> To post to this group, send email to [email protected].
>> >> To unsubscribe from this group, send email to
>> >> [email protected].
>> >> For more options, visit this group at
>> >>http://groups.google.com/group/sympy?hl=en.
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "sympy" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to 
>> > [email protected].
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/sympy?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/sympy?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to