summaryrefslogtreecommitdiffstats
path: root/peanosfc.txi
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
commit5145dd3aa0c02c9fc496d1432fc4410674206e1d (patch)
tree540afc30c51da085f5bd8ec3f4c89f6496e7900d /peanosfc.txi
parent8466d8cfa486fb30d1755c4261b781135083787b (diff)
downloadslib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.tar.gz
slib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.zip
Import Upstream version 3a2upstream/3a2
Diffstat (limited to 'peanosfc.txi')
-rw-r--r--peanosfc.txi15
1 files changed, 15 insertions, 0 deletions
diff --git a/peanosfc.txi b/peanosfc.txi
new file mode 100644
index 0000000..10cc256
--- /dev/null
+++ b/peanosfc.txi
@@ -0,0 +1,15 @@
+
+@defun integer->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}
+arguments 0 and 1 will differ in the first element.
+@end defun
+
+
+@defun peano-coordinates->integer coords
+
+Returns an exact nonnegative integer corresponding to @var{coords}, a list of
+nonnegative integer coordinates.
+@end defun
+