Ask Your Question
1

Creating an object of the Magmatic Algebras category

asked 2019-12-05 18:36:44 +0100

Jose Brox gravatar image

For the moment being, the category of Sage for nonassociative algebras is called MagmaticAlgebras. I want to know which methods are available in this category, and specifically how to create an object (i.e., a nonassociative algebra). In particular, what I want is to get the free nonassociative algebra in four variables (a,b,c,d) over the rational field. The MagmaticAlgebras reference page is of no use to me. Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2019-12-05 20:04:01 +0100

FrédéricC gravatar image

I suggest to take inspiration from

src/sage/combinat/free_prelie_algebra.py:class FreePreLieAlgebra(CombinatorialFreeModule):

which define another kind of non-associative algebra on a vector space spanned by trees.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2019-12-05 18:36:44 +0100

Seen: 234 times

Last updated: Dec 05 '19