Macaulay2 » Documentation
Packages » Macaulay2Doc :: - Vector
next | previous | forward | backward | up | index | toc

- 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

Ways to use this method: