HQu-0.0.0.3: quantitative finance library
Safe HaskellNone
LanguageHaskell2010

Q.Interpolation

Documentation

class (Ord k, Storable k, Storable v) => Interpolator a k v where Source #

Methods

interpolate :: a -> [(k, v)] -> k -> v Source #

Instances

Instances details
(Ord k, Storable k, Storable v, InterpolatorV a k v) => Interpolator a k v Source # 
Instance details

Defined in Q.Interpolation

Methods

interpolate :: a -> [(k, v)] -> k -> v Source #

class (Ord k, Storable k, Storable v) => InterpolatorV a k v where Source #

Methods

interpolateV :: a -> SortedVector k -> Vector v -> k -> v Source #