next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 website
Macaulay2Doc
::
matrix(RingElement)
matrix(RingElement) -- make a matrix from a ring element
Synopsis
Function:
matrix
Usage:
matrix r
Inputs:
r
,
a
ring element
Optional inputs
:
Degree
=>
...
,
default value null
, create a matrix from a doubly-nested list of ring elements or matrices
Outputs:
a
matrix
, the one by one matrix with
r
as its single entry
Description
i1 : matrix 48 o1 = | 48 | 1 1 o1 : Matrix ZZ <--- ZZ
Ways to use this method:
"matrix(Number)"
matrix(RingElement)
-- make a matrix from a ring element