| Copyright | (c) Ross Paterson 2011 |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | [email protected] |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.YAP.Quaternion
Description
An example instance of the algebraic classes: quaternions.
Synopsis
- data Quaternion a = Q a a a a
- conjugate :: AbelianGroup a => Quaternion a -> Quaternion a
Documentation
data Quaternion a Source #
Quaternions
Instances
conjugate :: AbelianGroup a => Quaternion a -> Quaternion a Source #
The conjugate of a quaternion.