Macaulay2
»
Documentation
Packages
»
GradedLieAlgebras
::
numgens(LieAlgebra)
next
|
previous
|
forward
|
backward
| up |
index
|
toc
numgens(LieAlgebra) -- get the number of generators
Synopsis
Function:
numgens
Usage:
x=numgens(L)
Inputs:
L
,
an instance of the type
LieAlgebra
,
Outputs:
x
,
an
integer
, the number of generators of $L$
Description
i1 : L=lieAlgebra{a,b,c} o1 = L o1 : LieAlgebra
i2 : numgens L o2 = 3
See also
describe(LieAlgebra)
-- real description
Ways to use this method:
numgens(LieAlgebra)
-- get the number of generators