sde-solver-0.1.0.0: src/Numeric/DSDE/SDE.hs
{-# LANGUAGE ConstraintKinds #-}
module Numeric.DSDE.SDE where
-- | Type of result and intermediate variables used when solving an SDE problem.
type Parameter a = (Floating a, Fractional a, Num a)
-- | Describes an SDE problem. The partial derivate is used by advanced solvers
-- such as the 'Milstein' method.
class SDE a where
f,g,partgoverparty :: Parameter p => a p -> p -> p -> p