Testing the extension module

Import and print documentation:
>>> import oscillator
>>> print oscillator.__doc__
This module 'oscillator' is auto-generated with f2py
Functions:
  y,step,time = timeloop2(y,step,time,nsteps,
                          n=shape(y,0),maxsteps=shape(y,1))
  scan2(m_,b_,c_,a_,w_,y0_,tstop_,dt_,func_)
COMMON blocks:
  /data/ m,b,c,a,w,y0,tstop,dt,func(20)
Note: array dimensions (n, maxsteps) are moved to the end of the argument list and given default values!
Rule: always print and study the doc string since F2PY perturbs the argument list

previousnexttable of contents