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

# Number LieElement -- multiplication of a number and a Lie element

- Operator: SPACE
- Usage:
    `u = a x`
- Inputs:
  - a, a number,
  - x, an instance of the type LieElement, $x$ is of type $L$, where $L$ is of type LieAlgebra
- Outputs:
  - u, an instance of the type LieElement, $u$ is of type $L$, the product $a*x$

## Description

The symbol SPACE is used as notation for multiplication by scalars. The scalars are of type Number if the field is QQ, otherwise the scalars are of type RingElement. If the Lie element is surrounded by parentheses, the SPACE may be omitted.

    i1 : L = lieAlgebra{a,b}

    o1 = L

    o1 : LieAlgebra

    i2 : - 3(b b a + 2 a a b)

    o2 = 6 (a b a) - 3 (b b a)

    o2 : L

## See also

- RingElement LieElement -- multiplication of a field element and a Lie element

## Ways to use this method:

- Number LieElement -- multiplication of a number and a Lie element

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/GradedLieAlgebras/doc.m2:2003:0.