Skip navigation links

Package org.uacalc.alg

What is an algebra? and how do we represent it in a computer? We bascially follow Algebras, Lattices, Varieties by McKenzie, McNulty, Taylor.

See: Description

Package org.uacalc.alg Description

What is an algebra? and how do we represent it in a computer? We bascially follow Algebras, Lattices, Varieties by McKenzie, McNulty, Taylor. The java interface Algebra describes the methods an algebra should have.

How the algebra is represented internally depends on its size and its origin: did the user input it? was it constructed as a direct product of algebra? Also there needs to be different a representation for certain kinds of algebras such as lattices.

For an algebra of size n, where n is reasonably small, we will have a map between the universe of the algebra and the set {0, 1, ..., n-1} and the operations will be represented by tables on this set of integers. But for large algebras tables may be impractical or impossible. So if A has 7 elements and one binary operation, we might generate the multiplication tables for A2 but not for A3 and certainly not for A4. Of course for A3 the operations would be computed componentwise.

Skip navigation links

Copyright 2003 Ralph Freese. All Rights Reserved.