From 2837cc2253b7843262733683064682fbd9298da2 Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Thu, 25 Jul 2019 09:56:15 -0400 Subject: [PATCH] Document operations on locations. --- doc/teapot.lyx | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/doc/teapot.lyx b/doc/teapot.lyx index 09a0969..ddc2c90 100644 --- a/doc/teapot.lyx +++ b/doc/teapot.lyx @@ -4859,6 +4859,9 @@ Operators Unlike other spread sheets, the operators in teapot check the type of the values they are applied to, which means the try to add a string to a floating point number will result in an type error. + Operators on locations in the spreadsheet, which are just triples of integers, + generally operate following typical rules for vectors, with particular + notes below. The following operators are available, listed in ascending precendence: \end_layout @@ -4895,7 +4898,19 @@ y \emph default are empty, they are considered to be 0 if the other is an integer number, 0.0 if it is a floating point number and the empty string if it is a string. - + On locations, +\emph on +x