Macaulay2 » Documentation
Packages » GradedLieAlgebras :: computedDegree
next | previous | forward | backward | up | index | toc

computedDegree -- get the degree to which the computations have been performed

Description

The computed degree of a Lie algebra (or Ext-algebra) $L$ is $d$ when the computation of $L$ has been performed up to degree $d$.

Synopsis

  • Usage:
    n=computedDegree(L)
  • Inputs:
  • Outputs:
    • n, an integer, the degree of computation of L

Synopsis

  • Usage:
    n=computedDegree(E)
  • Inputs:
  • Outputs:
    • n, an integer, the degree of computation of E
i1 : L = lieAlgebra({a,b,c},Weights=>{1,2,3})

o1 = L

o1 : LieAlgebra
i2 : dims(1,3,L)

o2 = {1, 1, 2}

o2 : List
i3 : computedDegree L

o3 = 3
i4 : firstDegree(c a b+a b c)

o4 = 6
i5 : computedDegree L

o5 = 6

Ways to use computedDegree :

For the programmer

The object computedDegree is a method function.