HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulevector-space-0.19Haskell2010

Data.Maclaurin

Infinite derivative towers via linear maps, using the Maclaurin representation. See blog posts http://conal.net/blog/tag/derivative/.

Contents
  1. Misc
Synopsis
  • Packagevector-space-0.19
  • Exports20
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceMaclaurin.hs
datadata (:>) a b

Tower of derivatives.

Constructors

Instances19Eq, Floating, Fractional, Num, Ord, Show, …
typetype (:~>) a b = a -> a :> b

Infinitely differentiable functions

valuedistrib
  1. :: (HasBasis a, HasTrie (Basis a), AdditiveGroup u)
  2. => b -> c -> u
  3. -> a :> b
  4. -> a :> c
  5. -> a :> u

Derivative tower for applying a binary function that distributes over addition, such as multiplication. A bit weaker assumption than bilinearity. Is bilinearity necessary for correctness here?

Misc