Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.140 distarr

distarr(dims [, center, stretch])

Returns an array with dimensions given in dims in which each element contains the distance of a point with its coordinates to the point whose coordinates are specified in center, or to (0,0) if no center was specified. stretch, if specified, contains a factor for each dimensions by which the distance in that dimensions must be multiplied.