noether-0.0.1: Math in Haskell.

Safe HaskellNone
LanguageHaskell2010

Noether.Algebra.Single.Neutral

Documentation

class NeutralK op a s where Source #

Minimal complete definition

neutralK

Methods

neutralK :: Proxy op -> Proxy s -> a Source #

Instances

NeutralK BinaryBoolean And Bool NeutralPrim Source # 
NeutralK BinaryBoolean Or Bool NeutralPrim Source # 
Num a => NeutralK BinaryNumeric Add a NeutralNum Source # 
Num a => NeutralK BinaryNumeric Mul a NeutralNum Source # 
(KnownSymbol sym, NeutralK k op a s) => NeutralK k op a (NeutralNamed sym s) Source # 

Methods

neutralK :: Proxy op a -> Proxy NeutralE s -> NeutralNamed sym s Source #

(Unbox v, KnownNat n, NeutralK k op v s) => NeutralK k op (UVector n v) (NeutralTagged UVectorLift s) Source #

Neutral elements for addition and multiplication.

(KnownNat n, NeutralK k op v s) => NeutralK k op (BVector Nat n v) (NeutralTagged BVectorLift s) Source #

Neutral elements for addition and multiplication.

type family NeutralS (op :: k) (a :: Type) = (r :: NeutralE) Source #

Instances

type NeutralS BinaryBoolean _ Bool Source # 
type NeutralS BinaryNumeric _ Rational Source # 
type NeutralS BinaryNumeric _ Rational Source # 
type NeutralS BinaryNumeric _ Double Source # 
type NeutralS BinaryNumeric _ Float Source # 
type NeutralS BinaryNumeric _ Integer Source # 
type NeutralS BinaryNumeric _ Int Source # 
type NeutralS BinaryNumeric op (Complex a) Source # 
type NeutralS BinaryNumeric _ (Ratio Int64) Source # 
type NeutralS BinaryNumeric _ (Ratio Int64) Source # 
type NeutralS BinaryNumeric _ (Ratio Int32) Source # 
type NeutralS BinaryNumeric _ (Ratio Int32) Source # 
type NeutralS BinaryNumeric _ (Ratio Int16) Source # 
type NeutralS BinaryNumeric _ (Ratio Int16) Source # 
type NeutralS BinaryNumeric _ (Ratio Int8) Source # 
type NeutralS BinaryNumeric _ (Ratio Int8) Source # 
type NeutralS BinaryNumeric _ (Ratio Int8) Source # 
type NeutralS BinaryNumeric _ (Ratio Int8) Source # 
type NeutralS BinaryNumeric op (UVector n a) Source # 
type NeutralS BinaryNumeric op (BVector k n a) Source # 

type Neutral op a = NeutralK op a (NeutralS op a) Source #