algebra-3.1: Constructive abstract algebra

Numeric.Algebra.Division

# Documentation

class Unital r => Division r whereSource

Methods

recip :: r -> rSource

(/) :: r -> r -> rSource

(\\) :: r -> r -> rSource

(^) :: Integral n => r -> n -> rSource

Instances

 Division () (Unital (Complex r), Commutative r, InvolutiveSemiring r, DivisionRing r) => Division (Complex r) (Unital (Quaternion r), TriviallyInvolutive r, Ring r, Division r) => Division (Quaternion r) (Unital (Dual r), Commutative r, InvolutiveSemiring r, DivisionRing r) => Division (Dual r) (Unital (Hyper' r), Commutative r, InvolutiveSemiring r, DivisionRing r) => Division (Hyper' r) (Unital (Dual' r), Commutative r, InvolutiveSemiring r, DivisionRing r) => Division (Dual' r) (Unital (Quaternion' r), TriviallyInvolutive r, Ring r, Division r) => Division (Quaternion' r) (Unital (Exp r), Group r) => Division (Exp r) (Unital (Opposite r), Division r) => Division (Opposite r) (Unital (RngRing r), Rng r, Division r) => Division (RngRing r) (Unital (a -> r), Unital r, DivisionAlgebra r a) => Division (a -> r) (Unital (a, b), Division a, Division b) => Division (a, b) (Unital (a, b, c), Division a, Division b, Division c) => Division (a, b, c) (Unital (a, b, c, d), Division a, Division b, Division c, Division d) => Division (a, b, c, d) (Unital (a, b, c, d, e), Division a, Division b, Division c, Division d, Division e) => Division (a, b, c, d, e)

class UnitalAlgebra r a => DivisionAlgebra r a whereSource

Methods

recipriocal :: (a -> r) -> a -> rSource