Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Incremental evaluation via generalized automatic differentiation
Documentation
class HasDelta a where Source #
Nothing
(@+) :: HasDelta a => Binop (Delta a) infixl 6 Source #
(.+^) :: a -> Delta a -> a infixl 6 Source #
Instances
HasDelta () Source # | |
HasDelta Bool Source # | |
HasDelta Double Source # | |
HasDelta Float Source # | |
HasDelta Int Source # | |
OpCon (:*) (Sat HasDelta) Source # | |
OpCon (:+) (Sat HasDelta) Source # | |
OpCon (->) (Sat HasDelta) Source # | |
(HasDelta a, HasDelta b) => HasDelta (a :* b) Source # | |
(HasDelta a, HasDelta b) => HasDelta (a :+ b) Source # | |
HasDelta b => HasDelta (a -> b) Source # | |
newtype a -#> b infixr 1 Source #
Instances
BraidedPCat (-#>) Source # | |
Category (-#>) Source # | |
CoproductPCat (-#>) Source # | |
MonoidalPCat (-#>) Source # | |
Defined in ConCat.Incremental | |
ProductCat (-#>) Source # | |
(Num s, Additive s, Atomic s) => NumCat Inc s Source # | |
(OkCAR (a -#> b), IfCat (:>) (Rep (a -#> b))) => IfCat (:>) (a -#> b) Source # | |
HasRep (a -#> b) Source # | |
OkCAR (a -#> b) => GenBuses (a -#> b) Source # | |
type Ok (-#>) Source # | |
Defined in ConCat.Incremental | |
type Rep (a -#> b) Source # | |
inPairD :: C4 HasDelta u v u' v' => ((Del u :* Del v) -+> (Del u' :* Del v')) -> Del (u :* v) -+> Del (u' :* v') Source #