Did I find the right examples for you? yes no

All Samples(12)  |  Call(8)  |  Derive(0)  |  Import(4)

src/s/c/scipro-primer-HEAD/src/class/UMLdrawings.py   scipro-primer(Download)
    sys.exit(1)
import sys
from classes import Y, Derivative, VelocityProfile, Account, AccountP, \
     Person, Circle
from Complex import Complex
lumpy = Lumpy() 
lumpy.make_reference()   # not necessary for class diagrams
y = Y(v0=4)
lumpy.object_diagram()
lumpy.class_diagram()

src/s/c/scipro-primer-HEAD/src-3rd/class/UMLdrawings.py   scipro-primer(Download)
    sys.exit(1)
import sys
from classes import Y, Derivative, VelocityProfile, Account, AccountP, \
     Person, Circle
from Complex import Complex
lumpy = Lumpy() 
lumpy.make_reference()   # not necessary for class diagrams
y = Y(v0=4)
lumpy.object_diagram()
lumpy.class_diagram()

src/s/c/scipro-primer-HEAD/src-3rd/class/session.py   scipro-primer(Download)
from classes import Y   # class Y is in module classes
y = Y(3)                # make an instance y with v0=3
v1 = y.value(0.2)       # evaluate the formula for t=0.2
v2 = y.value(t=0.3)     # another call
y.formula()
y(0.2)
 
y = Y(1.5)
y(0.2)
print y
    return (f(x+h) - f(x))/float(h)
 
y1 = Y(1)
print diff(y1.value, 0, 1)
 

src/s/c/scipro-primer-HEAD/src/class/session.py   scipro-primer(Download)
from classes import Y   # class Y is in module classes
y = Y(3)                # make an instance y with v0=3
v1 = y.value(0.2)       # evaluate the formula for t=0.2
v2 = y.value(t=0.3)     # another call
y.formula()
y(0.2)
 
y = Y(1.5)
y(0.2)
print y
    return (f(x+h) - f(x))/float(h)
 
y1 = Y(1)
print diff(y1.value, 0, 1)