@hackage matrix-as-xyz0.1.2.2

Read and Display Jones-Faithful notation for spacegroup and planegroup

matrix-as-xyz

Continuous Integration status Hackage page (downloads and API reference) Hackage-Deps

Haskell Jones-Faithful notation (also called coordinate triplet) Library

Quickstart

repl> :m Data.Matrix.AsXYZ
repl> fromXYZ "x,y,z"
┌                         ┐
│ 1 % 1 0 % 1 0 % 1 0 % 1 │
│ 0 % 1 1 % 1 0 % 1 0 % 1 │
│ 0 % 1 0 % 1 1 % 1 0 % 1 │
│ 0 % 1 0 % 1 0 % 1 1 % 1 │
└                         ┘
repl> :m Data.Matrix Data.Matrix.AsXYZ
repl> prettyXYZ . identity $ 4
"x,y,z"

If you wanna use newest version, edit stack.yaml like below.

extra-deps:
- location: https://github.com/narumij/matrix-as-xyz/archive/0.1.2.1.tar.gz

License

See the LICENSE file in the repository.