Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Deprecated: This module will be replaced in a future release.
Data tables that behave as functions.
- class DomainFunction1 t where
- class DomainFunction1 t => TabulatedFunction1 t where
- data TabulatedFunctionImpl1 a
- class DomainFunction2 t where
- class DomainFunction2 t => TabulatedFunction2 t where
- data TabulatedFunctionImpl2 a b
- class DomainFunction3 t where
- class DomainFunction3 t => TabulatedFunction3 t where
- data TabulatedFunctionImpl3 a b c
One dimension
class DomainFunction1 t where Source #
Class for functions of one variable, supported on a particular domain.
class DomainFunction1 t => TabulatedFunction1 t where Source #
Class for tabulated functions of one variable.
fromTable1 :: Ord a => [(a, Double)] -> t a Source #
Make a tabulated function from a table.
fromUnTable1 :: Ord a => (b -> (a, Double)) -> [b] -> t a Source #
Make a tabulated function for a generating function and a list of values.
data TabulatedFunctionImpl1 a Source #
Implementation of a tabulated function of one variable.
Two dimensions
class DomainFunction2 t where Source #
Class for functions of two variables, supported on a particular domain.
class DomainFunction2 t => TabulatedFunction2 t where Source #
Class for tabulated functions of two variables.
data TabulatedFunctionImpl2 a b Source #
Implementation of a tabulated function of two variables.
Three dimensions
class DomainFunction3 t where Source #
Class for functions of three variables,
class DomainFunction3 t => TabulatedFunction3 t where Source #
Class for tabulated functions of two variables.
data TabulatedFunctionImpl3 a b c Source #
Implementation of a tabulated function of three variables.
TabulatedFunction3 TabulatedFunctionImpl3 Source # | |
DomainFunction3 TabulatedFunctionImpl3 Source # | |
(Show a, Show b, Show c) => Show (TabulatedFunctionImpl3 a b c) Source # | |