| |
- group
-
- trans_group
class group |
|
An abstract mathematical finite(?) point rotation groups |
|
Methods defined here:
- __init__(self, tol=1.0000000000000001e-05)
- Basic group is identity
tol is for numerical comparison of group membership
- additem(self, item)
- add a new member
- comp(self, x, y)
- Compare two things for equality
- isMember(self, item)
- Decide if item is already in the group
- makegroup(self)
- ensure all items = op(x,y) are in group
- op(self, x, y)
- Normally multiplication ?
Means of generating new thing from two others
|
class trans_group(group) |
|
Translation group (eg crystal lattice)
FIXME - this is mostly done in lattice_reduction.py instead now |
|
Methods defined here:
- __init__(self, tol=1.0000000000000001e-05)
- Identity is to not move at all
- additem(self, x)
- Do lattice reduction before adding as infinite group
- isMember(self, x)
- mod(self, x, y)
- Remove y from x to give smallest possible result
Find component of x || to y and remove it
- op(self, x, y)
- Means of generating new thing from two others
In this case add them and mod by group members
- reduce(self, v)
- Perform lattice reduction
Methods inherited from group:
- comp(self, x, y)
- Compare two things for equality
- makegroup(self)
- ensure all items = op(x,y) are in group
| |