DeepDarkFantasy-0.2017.8.4: A DSL for creating neural network.

Safe HaskellSafe
LanguageHaskell2010

DDF.Meta.Dual

Documentation

newtype Dual l r Source #

Constructors

Dual 

Fields

Instances

Eq l => Eq (Dual l r) Source # 

Methods

(==) :: Dual l r -> Dual l r -> Bool #

(/=) :: Dual l r -> Dual l r -> Bool #

Ord l => Ord (Dual l r) Source # 

Methods

compare :: Dual l r -> Dual l r -> Ordering #

(<) :: Dual l r -> Dual l r -> Bool #

(<=) :: Dual l r -> Dual l r -> Bool #

(>) :: Dual l r -> Dual l r -> Bool #

(>=) :: Dual l r -> Dual l r -> Bool #

max :: Dual l r -> Dual l r -> Dual l r #

min :: Dual l r -> Dual l r -> Dual l r #

type DiffType v (Dual l r) Source # 
type DiffType v (Dual l r) = Dual (DiffType v l) (DiffType v r)

dualOrig :: Dual t1 t -> t1 Source #

dualDiff :: Dual t t1 -> t1 Source #

mkDual :: l -> r -> Dual l r Source #