Copyright | (c) Jun Narumi 2018 |
---|---|
License | BSD-3 |
Maintainer | narumij@gmail.com |
Stability | experimental |
Portability | ? |
Safe Haskell | None |
Language | Haskell2010 |
- 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
- type ErrorMessage = String
- type SymbolSenseVectorOrientation = (Symbol, String, String, String)
- rotPart :: Matrix a -> Matrix a
- transPart :: Matrix a -> Matrix a
- iw :: Num c => Matrix c -> Matrix c
- triplet :: Integral a => (Ratio a, Ratio a, Ratio a) -> String
- tripletParen :: Integral a => (Ratio a, Ratio a, Ratio a) -> String
- adjustAnswerOnAxis :: (Eq b, Fractional b, Integral a) => Matrix (Ratio a) -> [b] -> Maybe [b]
- axisOf :: (Integral a, Num b) => Matrix (Ratio a) -> [b]
- senseOf :: Integral a => Matrix (Ratio a) -> String
- locationOf :: Integral a => Matrix (Ratio a) -> Matrix (Ratio a)
- orientationOf :: Integral a => Matrix (Ratio a) -> [Ratio a]
- properMatrixW :: (Monad m, MonadFail m) => SymbolSenseVectorOrientation -> m TransformedCoordinate
- hexagonalMatrixW :: (Monad m, MonadFail m) => SymbolSenseVectorOrientation -> m TransformedCoordinate
- fromXYZ'' :: Integral a => String -> Matrix (Ratio a)
Documentation
type ErrorMessage = String Source #
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) 解を解直線上で補正
properMatrixW :: (Monad m, MonadFail m) => SymbolSenseVectorOrientation -> m TransformedCoordinate Source #
hexagonalMatrixW :: (Monad m, MonadFail m) => SymbolSenseVectorOrientation -> m TransformedCoordinate Source #