ad 3.3.1 → 3.3.1.1
raw patch · 2 files changed
+2/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ad.cabal +1/−1
- src/Numeric/AD/Mode/Forward.hs +1/−0
ad.cabal view
@@ -1,5 +1,5 @@ name: ad-version: 3.3.1+version: 3.3.1.1 license: BSD3 license-File: LICENSE copyright: (c) Edward Kmett 2010-2013,
src/Numeric/AD/Mode/Forward.hs view
@@ -185,6 +185,7 @@ -- user-specified function. -- -- Note, this performs /O(n)/ worse than 'Numeric.AD.Mode.Wengert.gradWith'' for @n@ inputs, in exchange for better space utilization.+-- -- >>> gradWith' (,) sum [0..4] -- (10,[(0,1),(1,1),(2,1),(3,1),(4,1)]) gradWith' :: (Traversable f, Num a) => (a -> a -> b) -> (forall s. Mode s => f (AD s a) -> AD s a) -> f a -> (a, f b)