On Mon, Jun 22, 2009 at 2:15 PM, Bryan Bishop<[email protected]> wrote:
> Attached (new revision from my sandbox git repository). Any ideas on
> how to go about getting these tests to pass? Maybe there's some
> architecture changes that need to be made?

The tests you wrote are all pretty simple, e.g. integrating a constant
function and such. If this is all you want, it could be implemented by
enhancing the integrate() function to handle units (I am not much
convinced that is the way to go though).

But how would you like to work with this:

# i(t) = I_p * sin(2 * pi * f * t)
# di(t)/dt = 2 * pi * f * I_p * cos(2 * pi * f * t)

do you want "t" to be a symbol, or something that also holds units?
The same question about I_p and f.

And you then want sympy to automatically handle i(t) and di(t)/dt?
Yes, that would be cool to figure out how to do it. First I'd like to
understand more how you want to work with it exactly.

Ondrej

--~--~---------~--~----~------------~-------~--~----~
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