search for:
- {...}
-- negation of a vector
Synopsis:
Usage:
w = -v
Operator:
-
-- a unary or binary operator, usually used for negation or subtraction
Input:
v
, an instance of class
List
: a list interpreted as a vector
Output:
w
, an instance of class
List
: the negation of
v
Code:
-- ../../../Macaulay2/m2/lists.m2:11 - List := List => v -> apply(v,minus)
search for: