next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: - Vector

- Vector -- negation of a Vector

Synopsis

Description

-v -- the negation of v

i1 : v = vector {2,3,5,7}

o1 = | 2 |
     | 3 |
     | 5 |
     | 7 |

       4
o1 : ZZ
i2 : - v

o2 = | -2 |
     | -3 |
     | -5 |
     | -7 |

       4
o2 : ZZ