Safe Haskell | Safe-Infered |
---|
Documentation
The Expr data type provides a basis for ordering mathematical operations.
evalString :: String -> [(Variable, Complex Double)] -> Maybe (Complex Double)Source
evalString
evaluates a string-expression using a list of variable definitions with values.
evalExpr :: Expr -> [(Variable, Complex Double)] -> Maybe (Complex Double)Source
evalExpr
evaluates an expression tree using a list of variable definitions with values.
stringToExpr :: String -> Maybe ExprSource
stringToExpr
parses a string-expression and returns a maybe expression tree.