HaskellForMaths-0.3.1: Combinatorics, group theory, commutative algebra, non-commutative algebra
Math.Algebra.NonCommutative.NCPoly
Description
A module providing a type for non-commutative polynomials.
Synopsis
newtype Monomial v Source
Constructors
Instances
newtype NPoly r v Source
data Var Source
var :: Num k => v -> NPoly k vSource
Create a non-commutative variable for use in forming non-commutative polynomials. For example, we could define x = var x, y = var y. Then x*y /= y*x.
class Invertible a whereSource
Methods
inv :: a -> aSource