@hackage matrix-as-xyz0.1.2.0

Read and Display Jones-Faithfull 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"

License

See the LICENSE file in the repository.