From 21a5b78a36e528dd7ac4627eaf5cd88c8dd9d56b Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Sun, 8 Dec 2024 18:27:11 -0500 Subject: [PATCH] Document +/- methods for Vector & Number/RingElement --- M2/Macaulay2/packages/Macaulay2Doc/doc.m2 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/M2/Macaulay2/packages/Macaulay2Doc/doc.m2 b/M2/Macaulay2/packages/Macaulay2Doc/doc.m2 index 22dc9f0fd84..ce112406db6 100644 --- a/M2/Macaulay2/packages/Macaulay2Doc/doc.m2 +++ b/M2/Macaulay2/packages/Macaulay2Doc/doc.m2 @@ -228,7 +228,11 @@ document { (symbol +, Vector, Vector), (symbol +, Matrix, RingElement), (symbol +, RingElement, Matrix), - (symbol +, ChainComplexMap, RingElement) + (symbol +, ChainComplexMap, RingElement), + (symbol +, Vector, Number), + (symbol +, Vector, RingElement), + (symbol +, Number, Vector), + (symbol +, RingElement, Vector) }, Headline => "a unary or binary operator, usually used for addition", Usage => "+y \n x+y", @@ -319,7 +323,11 @@ document { (symbol -, Matrix), (symbol -, RingElement, Matrix), (symbol -, ChainComplexMap, RingElement), - (symbol -, Vector, Vector) + (symbol -, Vector, Vector), + (symbol -, Vector, Number), + (symbol -, Vector, RingElement), + (symbol -, Number, Vector), + (symbol -, RingElement, Vector) }, Headline => "a unary or binary operator, usually used for negation or subtraction", Usage => "-y \n x-y",