Skip to content

Commit

Permalink
add comment about option to create multiplication tables from outer p…
Browse files Browse the repository at this point in the history
…roducts
  • Loading branch information
thchr committed Sep 28, 2021
1 parent aeceb9d commit 112ebac
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/src/groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,16 @@ We can compute the multiplication table of a space group (under the previously d
MultTable(sg)
```

Alternatively, exploiting overloading of the `*`-operator, "raw" multiplication tables can be constructed via a simple outer product:
```@example spacegroup
sg .* permutedims(sg) # equivalent to `reshape(kron(sg, sg), (length(sg), length(sg)))`
```

### Symmorphic vs. nonsymorphic space groups
To determine whether a space group is symmorphic or not, use [`issymmorph`](@ref) taking either a `SpaceGroup`, a `LittleGroup`, or a space group identified by its number and dimensionality (in the latter case, using tabulated look-up).
To test whether a given `SymOperation` is symmorphic in a given centering setting, use [`issymmorph(::SymOperation, ::Char)`](@ref)

### Group generators
## Group generators
Generators of `SpaceGroup`s and `PointGroup`s are accessible via [`generators`](@ref), e.g.:
```@example spacegroup
ops = generators(sgnum, SpaceGroup{D})
Expand Down

2 comments on commit 112ebac

@thchr
Copy link
Owner Author

@thchr thchr commented on 112ebac Sep 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/45712

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.7 -m "<description of version>" 112ebacc496a175f60021efafc6b1a59163686e6
git push origin v0.4.7

Please sign in to comment.