Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Vec3
implementation with Unbox
instance
based on tuples, suitable for use with Data.Vector.Unboxed.
This represents 3-vector as a triple of doubles, using the default Unbox instance for tuples as provided by Data.Vector.Unboxed, which wraps a vector of tuples as a tuple of vectors.
interface: [d1 (x, y, z); d2 (x, y, z) ...], length = N | | | | | | storage(x): [d1x-+ | | ; d2x-+ | | ...], length = N storage(y): [d1y----+ | ; d2y----+ | ...], length = N storage(z): [d1z-------+ ; d2z-------+ ...], length = N
Eq UVec3 Source # | |
Show UVec3 Source # | |
Unbox UVec3 Source # | |
Vec3 UVec3 Source # | |
Vector Vector UVec3 Source # | |
MVector MVector UVec3 Source # | |
Vector Vector (Matrix UVec3) Source # | |
MVector MVector (Matrix UVec3) Source # | |
Eq (Matrix UVec3) Source # | |
Show (Matrix UVec3) Source # | |
Unbox (Matrix UVec3) Source # | |
data Vector UVec3 Source # | |
data Matrix UVec3 Source # | |
data MVector s UVec3 Source # | |
data MVector s (Matrix UVec3) Source # | |
data Vector (Matrix UVec3) Source # | |