Computation of Lie closure

lie_closure is the main function of the library.

lie_closure(generators, *[, keep_original, ...])

Compute the Lie closure of given generators.

orthogonalize(op, basis)

Subtract the subspace projection of an algebra element from itself.