HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

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