algebra-4.3.1: Constructive abstract algebra

Safe HaskellSafe
LanguageHaskell98

Numeric.Algebra.Division

Documentation

class Unital r => Division r where Source #

Methods

recip :: r -> r Source #

(/) :: r -> r -> r infixl 7 Source #

(\\) :: r -> r -> r infixl 7 Source #

(^) :: Integral n => r -> n -> r infixr 8 Source #

Instances

Division () Source # 

Methods

recip :: () -> () Source #

(/) :: () -> () -> () Source #

(\\) :: () -> () -> () Source #

(^) :: Integral n => () -> n -> () Source #

(Rng r, Division r) => Division (RngRing r) Source # 

Methods

recip :: RngRing r -> RngRing r Source #

(/) :: RngRing r -> RngRing r -> RngRing r Source #

(\\) :: RngRing r -> RngRing r -> RngRing r Source #

(^) :: Integral n => RngRing r -> n -> RngRing r Source #

Division r => Division (Opposite r) Source # 
Group r => Division (Exp r) Source # 

Methods

recip :: Exp r -> Exp r Source #

(/) :: Exp r -> Exp r -> Exp r Source #

(\\) :: Exp r -> Exp r -> Exp r Source #

(^) :: Integral n => Exp r -> n -> Exp r Source #

(TriviallyInvolutive r, Ring r, Division r) => Division (Quaternion' r) Source # 
(Commutative r, InvolutiveSemiring r, DivisionRing r) => Division (Dual' r) Source # 

Methods

recip :: Dual' r -> Dual' r Source #

(/) :: Dual' r -> Dual' r -> Dual' r Source #

(\\) :: Dual' r -> Dual' r -> Dual' r Source #

(^) :: Integral n => Dual' r -> n -> Dual' r Source #

(TriviallyInvolutive r, Ring r, Division r) => Division (Quaternion r) Source # 
(Commutative r, InvolutiveSemiring r, DivisionRing r) => Division (Hyper' r) Source # 

Methods

recip :: Hyper' r -> Hyper' r Source #

(/) :: Hyper' r -> Hyper' r -> Hyper' r Source #

(\\) :: Hyper' r -> Hyper' r -> Hyper' r Source #

(^) :: Integral n => Hyper' r -> n -> Hyper' r Source #

(Commutative r, InvolutiveSemiring r, DivisionRing r) => Division (Dual r) Source # 

Methods

recip :: Dual r -> Dual r Source #

(/) :: Dual r -> Dual r -> Dual r Source #

(\\) :: Dual r -> Dual r -> Dual r Source #

(^) :: Integral n => Dual r -> n -> Dual r Source #

(Commutative r, InvolutiveSemiring r, DivisionRing r) => Division (Complex r) Source # 

Methods

recip :: Complex r -> Complex r Source #

(/) :: Complex r -> Complex r -> Complex r Source #

(\\) :: Complex r -> Complex r -> Complex r Source #

(^) :: Integral n => Complex r -> n -> Complex r Source #

GCDDomain d => Division (Fraction d) Source # 
(Unital r, DivisionAlgebra r a) => Division (a -> r) Source # 

Methods

recip :: (a -> r) -> a -> r Source #

(/) :: (a -> r) -> (a -> r) -> a -> r Source #

(\\) :: (a -> r) -> (a -> r) -> a -> r Source #

(^) :: Integral n => (a -> r) -> n -> a -> r Source #

(Division a, Division b) => Division (a, b) Source # 

Methods

recip :: (a, b) -> (a, b) Source #

(/) :: (a, b) -> (a, b) -> (a, b) Source #

(\\) :: (a, b) -> (a, b) -> (a, b) Source #

(^) :: Integral n => (a, b) -> n -> (a, b) Source #

(Division a, Division b, Division c) => Division (a, b, c) Source # 

Methods

recip :: (a, b, c) -> (a, b, c) Source #

(/) :: (a, b, c) -> (a, b, c) -> (a, b, c) Source #

(\\) :: (a, b, c) -> (a, b, c) -> (a, b, c) Source #

(^) :: Integral n => (a, b, c) -> n -> (a, b, c) Source #

(Division a, Division b, Division c, Division d) => Division (a, b, c, d) Source # 

Methods

recip :: (a, b, c, d) -> (a, b, c, d) Source #

(/) :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) Source #

(\\) :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) Source #

(^) :: Integral n => (a, b, c, d) -> n -> (a, b, c, d) Source #

(Division a, Division b, Division c, Division d, Division e) => Division (a, b, c, d, e) Source # 

Methods

recip :: (a, b, c, d, e) -> (a, b, c, d, e) Source #

(/) :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

(\\) :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) Source #

(^) :: Integral n => (a, b, c, d, e) -> n -> (a, b, c, d, e) Source #

class UnitalAlgebra r a => DivisionAlgebra r a where Source #

Minimal complete definition

recipriocal

Methods

recipriocal :: (a -> r) -> a -> r Source #