Interface NonAssociativeAlgebra<E,S>

All Superinterfaces:
AbelianGroup<E>, AbelianMonoid<E>, Group<E>, Magma<E>, Module<E,S>, Monoid<E>, Set<E>

public interface NonAssociativeAlgebra<E,S> extends Module<E,S>
A non-associative algebra over a field (or ring).

This interface represents an algebra where the multiplication operation is bilinear but not necessarily associative.

Examples include Lie Algebras and Jordan Algebras.

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • multiply

      E multiply(E a, E b)
      The bilinear product operation.

      For associative algebras, this is standard multiplication. For Lie algebras, this is the Lie bracket [a, b].

      Parameters:
      a - the first element
      b - the second element
      Returns:
      the product a * b