algebra-simple-0.1: An alternative mathematical interface to Num.
Safe HaskellNone
LanguageHaskell2010

Numeric.Algebra.Multiplicative.MEuclidean

Description

Provides typeclass for euclidean division.

Since: 0.1

Synopsis

Documentation

class MGroup g => MEuclidean g where Source #

MGroup equipped with "euclidean" division.

Since: 0.1

Methods

mdivMod :: g -> g -> (g, g) Source #

Since: 0.1

Instances

Instances details
MEuclidean Int16 Source #

Since: 0.1

Instance details

Defined in Numeric.Algebra.Multiplicative.MEuclidean

Methods

mdivMod :: Int16 -> Int16 -> (Int16, Int16) Source #

MEuclidean Int32 Source #

Since: 0.1

Instance details

Defined in Numeric.Algebra.Multiplicative.MEuclidean

Methods

mdivMod :: Int32 -> Int32 -> (Int32, Int32) Source #

MEuclidean Int64 Source #

Since: 0.1

Instance details

Defined in Numeric.Algebra.Multiplicative.MEuclidean

Methods

mdivMod :: Int64 -> Int64 -> (Int64, Int64) Source #

MEuclidean Int8 Source #

Since: 0.1

Instance details

Defined in Numeric.Algebra.Multiplicative.MEuclidean

Methods

mdivMod :: Int8 -> Int8 -> (Int8, Int8) Source #

MEuclidean Word16 Source #

Since: 0.1

Instance details

Defined in Numeric.Algebra.Multiplicative.MEuclidean

MEuclidean Word32 Source #

Since: 0.1

Instance details

Defined in Numeric.Algebra.Multiplicative.MEuclidean

MEuclidean Word64 Source #

Since: 0.1

Instance details

Defined in Numeric.Algebra.Multiplicative.MEuclidean

MEuclidean Word8 Source #

Since: 0.1

Instance details

Defined in Numeric.Algebra.Multiplicative.MEuclidean

Methods

mdivMod :: Word8 -> Word8 -> (Word8, Word8) Source #

MEuclidean Integer Source #

Since: 0.1

Instance details

Defined in Numeric.Algebra.Multiplicative.MEuclidean

MEuclidean Natural Source #

Since: 0.1

Instance details

Defined in Numeric.Algebra.Multiplicative.MEuclidean

MEuclidean Int Source #

Since: 0.1

Instance details

Defined in Numeric.Algebra.Multiplicative.MEuclidean

Methods

mdivMod :: Int -> Int -> (Int, Int) Source #

MEuclidean Word Source #

Since: 0.1

Instance details

Defined in Numeric.Algebra.Multiplicative.MEuclidean

Methods

mdivMod :: Word -> Word -> (Word, Word) Source #

mdiv :: MEuclidean g => g -> g -> g Source #

Since: 0.1

mmod :: MEuclidean g => g -> g -> g Source #

Since: 0.1

mgcd :: (AMonoid g, Eq g, MEuclidean g, Normed g) => g -> g -> g Source #

Since: 0.1

mlcm :: (AMonoid g, Eq g, MEuclidean g, Normed g) => g -> g -> g Source #

Since: 0.1