Safe Haskell | None |
---|---|
Language | Haskell2010 |
Q.Greeks
Synopsis
- module Q.Types
- module Q.Options
- data Bump
- data DiffMethod
- class Bumpable a where
- firstOrder :: Bumpable a => DiffMethod -> Bump -> (a -> Double) -> a -> Double
Documentation
module Q.Types
module Q.Options
A relative or an absolute bump. Used with numerical Greeks.
data DiffMethod Source #
Constructors
ForwardDiff | |
BackwardDiff | |
CenteralDiff |
firstOrder :: Bumpable a => DiffMethod -> Bump -> (a -> Double) -> a -> Double Source #