flaw-math-0.1.0.0

LicenseMIT
Safe HaskellTrustworthy
LanguageHaskell2010

Flaw.Math.Internal

Description

 
Synopsis

Documentation

matDimensions :: [(Int, Int)] Source #

Whitelisted matrix dimensions.

mathTypeNamesWithPrefix :: [(Name, String)] Source #

Meaningful types for math.

mathQuaternionTypeNamesWithPrefix :: [(Name, String)] Source #

Meaningful types for quaternions.

genSwizzleVariants :: Int -> [String] Source #

Return list of swizzle variants for a given length.

addInlines :: [DecQ] -> Q [DecQ] Source #

Add inline pragmas for all functions.

mathTypeVectorizedDecls :: Name -> String -> Q [Dec] Source #

Declarations for single vectorized math type.