Copyright | (c) Sven Panne 2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
This package contains tensor data types and their instances for some basic type classes.
Documentation
A vertex with y=0, z=0 and w=1.
Vertex1 a |
Instances
A vertex with z=0 and w=1.
Vertex2 !a !a |
Instances
A vertex with w=1.
Vertex3 !a !a !a |
Instances
A fully-fledged four-dimensional vertex.
Vertex4 !a !a !a !a |
Instances
A one-dimensional vector.
Vector1 a |
Instances
A two-dimensional vector.
Vector2 !a !a |
Instances
A three-dimensional vector.
Vector3 !a !a !a |
Instances
A four-dimensional vector.
Vector4 !a !a !a !a |