summaryrefslogtreecommitdiffstats
path: root/peanosfc.txi
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:34 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:34 -0800
commit237c6e380aebdcbc70bd1c9ecf7d3f6effca2752 (patch)
tree9832fbdd6fbeedf3fc7f0e7923fe20b7d35b1499 /peanosfc.txi
parent5145dd3aa0c02c9fc496d1432fc4410674206e1d (diff)
downloadslib-237c6e380aebdcbc70bd1c9ecf7d3f6effca2752.tar.gz
slib-237c6e380aebdcbc70bd1c9ecf7d3f6effca2752.zip
Import Upstream version 3a3upstream/3a3
Diffstat (limited to 'peanosfc.txi')
-rw-r--r--peanosfc.txi24
1 files changed, 21 insertions, 3 deletions
diff --git a/peanosfc.txi b/peanosfc.txi
index 10cc256..5550ebb 100644
--- a/peanosfc.txi
+++ b/peanosfc.txi
@@ -1,15 +1,33 @@
+@code{(require 'peano-fill)}
+@ftindex peano-fill
-@defun integer->peano-coordinates scalar rank
+
+@defun natural->peano-coordinates scalar rank
Returns a list of @var{rank} nonnegative integer coordinates corresponding
-to exact nonnegative integer @var{scalar}. The lists returned by @code{integer->peano-coordinates} for @var{scalar}
+to exact nonnegative integer @var{scalar}. The lists returned by @code{natural->peano-coordinates} for @var{scalar}
arguments 0 and 1 will differ in the first element.
@end defun
-@defun peano-coordinates->integer coords
+@defun peano-coordinates->natural coords
Returns an exact nonnegative integer corresponding to @var{coords}, a list of
nonnegative integer coordinates.
@end defun
+
+@defun integer->peano-coordinates scalar rank
+
+Returns a list of @var{rank} integer coordinates corresponding to exact
+integer @var{scalar}. The lists returned by @code{integer->peano-coordinates} for @var{scalar} arguments 0 and 1 will
+differ in the first element.
+@end defun
+
+
+@defun peano-coordinates->integer coords
+
+Returns an exact integer corresponding to @var{coords}, a list of integer
+coordinates.
+@end defun
+