Macaulay2 » Documentation
Packages » Macaulay2Doc :: matrix(Vector)
next | previous | forward | backward | up | index | toc

matrix(Vector) -- make a matrix

Synopsis

Description

i1 : v = vector {1,2,3}

o1 = | 1 |
     | 2 |
     | 3 |

       3
o1 : ZZ
i2 : matrix v

o2 = | 1 |
     | 2 |
     | 3 |

              3        1
o2 : Matrix ZZ  <--- ZZ

Ways to use this method: