symmetry-operations-symbols-0.0.1.2

Copyright(c) Jun Narumi 2018
LicenseBSD-3
Maintainernarumij@gmail.com
Stabilityexperimental
Portability?
Safe HaskellNone
LanguageHaskell2010

Data.Matrix.SymmetryOperationsSymbols.Common

Description

Reference

W. Fischer. and E. Koch. (2006), Derivation of symbols and coordinate triplets

listed in International Tables for Crystallography (2006). Vol. A, Chapter 11.2, pp. 812–816.

Synopsis

Documentation

rotPart :: Matrix a -> Matrix a Source #

3x3 rotation part of matrix

transPart :: Matrix a -> Matrix a Source #

3x1 translation part of matrix

iw :: Num c => Matrix c -> Matrix c Source #

calculate (I-W)

triplet :: Integral a => (Ratio a, Ratio a, Ratio a) -> String Source #

>>> triplet (1%2,3%4,5%6)
"1/2,3/4,5/6"

tripletParen :: Integral a => (Ratio a, Ratio a, Ratio a) -> String Source #

>>> triplet (1%2,3%4,5%6)
"(1/2,3/4,5/6)"

adjustAnswerOnAxis :: (Eq b, Fractional b, Integral a) => Matrix (Ratio a) -> [b] -> Maybe [b] Source #

jpn) 解を解直線上で補正

axisOf :: (Integral a, Num b) => Matrix (Ratio a) -> [b] Source #

properMatrixW :: (Monad m, MonadFail m) => SymbolSenseVectorOrientation -> m TransformedCoordinate Source #

hexagonalMatrixW :: (Monad m, MonadFail m) => SymbolSenseVectorOrientation -> m TransformedCoordinate Source #

fromXYZ'' :: Integral a => String -> Matrix (Ratio a) Source #

jpn) 入力文字列が空だった場合に、4x4の0行列を返す