Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- assocCreate :: AssocBoolOper -> [ModelExpr] -> ModelExpr
- assocSanitize :: AssocBoolOper -> [ModelExpr] -> [ModelExpr]
- class ModelExprC r where
Documentation
assocCreate :: AssocBoolOper -> [ModelExpr] -> ModelExpr Source #
Helper for creating new smart constructors for Associative Binary operations that require at least 1 expression.
assocSanitize :: AssocBoolOper -> [ModelExpr] -> [ModelExpr] Source #
Helper for associative operations, removes embedded variants of the same kind
class ModelExprC r where Source #
deriv :: (HasUID c, HasSymbol c) => r -> c -> r Source #
pderiv :: (HasUID c, HasSymbol c) => r -> c -> r Source #
nthderiv :: (HasUID c, HasSymbol c) => Integer -> r -> c -> r Source #
nthpderiv :: (HasUID c, HasSymbol c) => Integer -> r -> c -> r Source #
defines :: r -> r -> r Source #
One expression is "defined" by another.
Space literals.
isIn :: r -> Space -> r Source #
Check if a value belongs to a Space.
Binary associative Equivalence.
intAll :: Symbol -> r -> r Source #
Smart constructor for the summation, product, and integral functions over all Real numbers.
sumAll :: Symbol -> r -> r Source #
Smart constructor for the summation, product, and integral functions over all Real numbers.
prodAll :: Symbol -> r -> r Source #
Smart constructor for the summation, product, and integral functions over all Real numbers.
Instances
ModelExprC ModelExpr Source # | |
Defined in Language.Drasil.ModelExpr.Class deriv :: (HasUID c, HasSymbol c) => ModelExpr -> c -> ModelExpr Source # pderiv :: (HasUID c, HasSymbol c) => ModelExpr -> c -> ModelExpr Source # nthderiv :: (HasUID c, HasSymbol c) => Integer -> ModelExpr -> c -> ModelExpr Source # nthpderiv :: (HasUID c, HasSymbol c) => Integer -> ModelExpr -> c -> ModelExpr Source # defines :: ModelExpr -> ModelExpr -> ModelExpr Source # space :: Space -> ModelExpr Source # isIn :: ModelExpr -> Space -> ModelExpr Source # equiv :: [ModelExpr] -> ModelExpr Source # intAll :: Symbol -> ModelExpr -> ModelExpr Source # |