Next: , Previous: , Up: Space-Filling Curves   [Contents][Index]


7.2.7.5 Peano Space-Filling Curve

(require 'peano-fill)

Function: natural->peano-coordinates scalar rank

Returns a list of rank nonnegative integer coordinates corresponding to exact nonnegative integer scalar. The lists returned by natural->peano-coordinates for scalar arguments 0 and 1 will differ in the first element.

Function: peano-coordinates->natural coords

Returns an exact nonnegative integer corresponding to coords, a list of nonnegative integer coordinates.

Function: integer->peano-coordinates scalar rank

Returns a list of rank integer coordinates corresponding to exact integer scalar. The lists returned by integer->peano-coordinates for scalar arguments 0 and 1 will differ in the first element.

Function: peano-coordinates->integer coords

Returns an exact integer corresponding to coords, a list of integer coordinates.