Copyright | (C) 2013 Parnell Springmeyer |
---|---|
License | BSD3 |
Maintainer | Parnell Springmeyer <parnell@digitalmentat.com> |
Stability | stable |
Safe Haskell | Safe |
Language | Haskell2010 |
Documentation
Round a number to the Nth decimal place.
:: ZipList Double | ZipList of values to transform matrix triplet |
-> [Double] | Working space triplet |
-> Double | Sum of the sequentially applied transformation |
Transform a triplet of values from a working space matrix,
sequentially multiplying each value against a ZipList
of input
transformation values and taking the sum.
I'm sure there's a math-y word for what this is doing (affine transformation?).
TODO: use a triple instead of a list! It is possible to goof up by providing a list of elements greater than three.