def frange(start, end, inc=<NUM_LIT:1.0>):
start = <NUM_LIT:1.0>*start<EOL>end   = <NUM_LIT:1.0>*end<EOL>inc   = <NUM_LIT:1.0>*inc<EOL>if not inc: return _n.array([start,end])<EOL>if <NUM_LIT:1.0>*(end-start)/inc < <NUM_LIT:0.0>:<EOL><INDENT>inc = -inc<EOL><DEDENT>ns = _n.array(list(range(<NUM_LIT:0>, int(<NUM_LIT:1.0>*(end-start)/inc)+<NUM_LIT:1>)))<EOL>return start + ns*inc<EOL>
A range function, that accepts float increments and reversed direction.

See also numpy.linspace()