Anthony Smith's IDL routines

Galaxies etc.

single page | use frames     summary     class     fields     routine details     file attributes

misc/

ajs_linspace.pro

topajs_linspace

result = ajs_linspace(start, stop, num, step=step, bincentres=bincentres)

This function returns an array of points equally (linearly) spaced between two extremes (as Python's numpy.linspace or Matlab).

Return value

Returns array of floating point numbers, or double-precision if either start or stop is double precision

Parameters

start
stop
num

Keywords

step
bincentres

Examples

Result = ajs_linspace(10, 20)

File attributes

Modifcation date: Fri Jun 6 08:19:26 2008
Lines: 93
Docformat: idl verbatim