matrix-as-xyz

Read and Display Jones-Faithful notation for spacegroup and planegroup

https://github.com/narumij/matrix-as-xyz#readme

Version on this page:0.1.2.1
LTS Haskell 22.21:0.1.2.2@rev:2
Stackage Nightly 2024-05-11:0.1.2.2@rev:2
Latest on Hackage:0.1.2.2@rev:2

See all snapshots matrix-as-xyz appears in

BSD-3-Clause licensed by Jun Narumi
Maintained by [email protected]
This version can be pinned in stack with:matrix-as-xyz-0.1.2.1@sha256:bd9e578c9ad3db41d404c5a71a7a6c8c27ed0b58e82af07a222a614951db5d22,2103
Used by 1 package in nightly-2020-08-08(full list with versions):

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.