Did I find the right examples for you? yes no

All Samples(9)  |  Call(0)  |  Derive(0)  |  Import(9)

src/s/c/scipro-primer-HEAD/src/ode2/app4_ball.py   scipro-primer(Download)
"""Solve an ODE system for the trajectory of a ball."""
 
import ODESolver
from scitools.std import *
 

src/s/c/scipro-primer-HEAD/src/ode2/app3_osc.py   scipro-primer(Download)
 
# Test case: u = cos(t)
import ODESolver
from scitools.std import *
f = OscSystem(1.0, 0.0, 1.0, 0.0, lambda t: 0)

src/s/c/scipro-primer-HEAD/src/ode2/app2_logistic.py   scipro-primer(Download)
import ODESolver
from scitools.std import plot, figure
import numpy as np
 
class Problem:

src/s/c/scipro-primer-HEAD/src/ode2/app1_decay.py   scipro-primer(Download)
from scitools.std import *
import ODESolver
 
def f(u, t):
    return -u

src/s/c/scipro-primer-HEAD/src-3rd/ode2/app4_ball.py   scipro-primer(Download)
"""Solve an ODE system for the trajectory of a ball."""
 
import ODESolver
from scitools.std import *
 

src/s/c/scipro-primer-HEAD/src-3rd/ode2/app3_osc.py   scipro-primer(Download)
 
# Test case: u = cos(t)
import ODESolver
from scitools.std import *
f = OscSystem(1.0, 0.0, 1.0, 0.0, lambda t: 0)

src/s/c/scipro-primer-HEAD/src-3rd/ode2/app2_logistic.py   scipro-primer(Download)
import ODESolver
from scitools.std import plot, figure
import numpy as np
 
class Problem:

src/s/c/scipro-primer-HEAD/src-3rd/ode2/app1_exp.py   scipro-primer(Download)
from scitools.std import *
import ODESolver
 
def f(u, t):
    return u

src/s/c/scipro-primer-HEAD/src-3rd/ode2/app1_decay.py   scipro-primer(Download)
from scitools.std import *
import ODESolver
 
def f(u, t):
    return -u