Comment #13 on issue 1621 by [email protected]: Initial conditions in
dsolve()
http://code.google.com/p/sympy/issues/detail?id=1621
Maybe we can start implementing a simple solution that does not require a
Differentiation operator or IntegrationConstant. To express initial
conditions we could start with a list of tuples.
dsolve(Derivative(f(x), x, 2) + 4*f(x) - sin(2*x), f(x), initial_conds=((0,
1, 2), (1, 2, 3)) )
initial_conds is a tuple of triplets. Each tuple is an initial contition
with 3 values (order, point, value). Order is the derivative order, 0=f(x),
1=f'(x) etc. point is where initial condition is evaluated, and value the
initial condition value.
Example of triplets:
(0,1,2) encodes f(1) = 2
(1,2,3) encodes f'(2) = 3
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.