linear-1.20.1: Linear Algebra

Copyright(C) 2012-2015 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageHaskell98

Linear.Conjugate

Description

Involutive rings

Synopsis

Documentation

class Num a => Conjugate a where Source

An involutive ring

Minimal complete definition

Nothing

Methods

conjugate :: a -> a Source

Conjugate a value. This defaults to the trivial involution.

>>> conjugate (1 :+ 2)
1.0 :+ (-2.0)
>>> conjugate 1
1