Home
last modified time | relevance | path

Searched refs:nstep (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/_ctypes/
D_ctypes_test.c341 integrate(double a, double b, double (*f)(double), long nstep) in integrate() argument
343 double x, sum=0.0, dx=(b-a)/(double)nstep; in integrate()
346 return sum/(double)nstep; in integrate()
/external/python/cpython3/Modules/_ctypes/
D_ctypes_test.c517 integrate(double a, double b, double (*f)(double), long nstep) in integrate() argument
519 double x, sum=0.0, dx=(b-a)/(double)nstep; in integrate()
522 return sum/(double)nstep; in integrate()