ad-4.2.1.1: Automatic Differentiation

Copyright(c) Edward Kmett 2010-2014
LicenseBSD3
Maintainerekmett@gmail.com
Stabilityexperimental
PortabilityGHC only
Safe HaskellNone
LanguageHaskell2010

Numeric.AD.Internal.Tower

Description

 

Synopsis

Documentation

newtype Tower a Source

Tower is an AD Mode that calculates a tangent tower by forward AD, and provides fast diffsUU, diffsUF

Constructors

Tower 

Fields

getTower :: [a]
 

Instances

(Num a, Bounded a) => Bounded (Tower a) 
(Num a, Enum a) => Enum (Tower a) 
(Num a, Eq a) => Eq (Tower a) 
Floating a => Floating (Tower a) 
Fractional a => Fractional (Tower a) 
Data a => Data (Tower a) 
Num a => Num (Tower a) 
(Num a, Ord a) => Ord (Tower a) 
Real a => Real (Tower a) 
RealFloat a => RealFloat (Tower a) 
RealFrac a => RealFrac (Tower a) 
Show a => Show (Tower a) 
Erf a => Erf (Tower a) 
InvErf a => InvErf (Tower a) 
Num a => Mode (Tower a) 
Num a => Jacobian (Tower a) 
Typeable (* -> *) Tower 
type Scalar (Tower a) = a 
type D (Tower a) = Tower a 

zeroPad :: Num a => [a] -> [a] Source

zeroPadF :: (Functor f, Num a) => [f a] -> [f a] Source

transposePadF :: (Foldable f, Functor f) => a -> f [a] -> [f a] Source

d :: Num a => [a] -> a Source

d' :: Num a => [a] -> (a, a) Source

withD :: (a, a) -> Tower a Source

bundle :: a -> Tower a -> Tower a Source

apply :: Num a => (Tower a -> b) -> a -> b Source

getADTower :: Tower a -> [a] Source

tower :: [a] -> Tower a Source