This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
How to test a ODE in sympy properly. | |
See [http://docs.sympy.org/latest/modules/solvers/ode.html#checkodesol] for more | |
''' | |
import sympy as sp | |
x, h = sp.symbols('x h') | |
eq = sp.diff(h(x), x) - h(x) | |
sols = sp.dsolve(eq) | |
sol = sols.rhs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import inspect | |
import morepath | |
import os | |
from webob import static | |
class App(morepath.App): | |
@property |
NewerOlder