Equation
Namespace: Informedica.GenSolver.Lib
Functions that handle the Equation
type that
either represents a ProductEquation
y = x1 * x2 ... * xn
or a SumEquations
y = x1 * x2 ... * xn
Nested types and modules
Type | Description |
Equation | An equation is either a |
EquationException | Equation exception |
Message | Error messages |
Functions and values
Function or value | Description |
apply fp fs _arg1
Signature: fp:(Variable -> Variable list -> '?7045) -> fs:(Variable -> Variable list -> '?7045) -> _arg1:Equation -> '?7045
Type parameters: '?7045 |
Apply fp to a |
contains v
Signature: v:Variable -> Equation -> bool
|
|
create c succ fail (y, xs)
Signature: c:(Variable * Variable list -> '?7038) -> succ:('?7038 -> '?7039) -> fail:(Message -> '?7039) -> (y:Variable * xs:Variable list) -> '?7039
Type parameters: '?7038, '?7039 |
Create an |
createProductEq
Signature: (Equation -> Equation) -> (Message -> Equation) -> Variable * Variable list -> Equation
|
Create an |
createProductEqExc
Signature: Variable * Variable list -> Equation
|
Create an |
createSumEq
Signature: (Equation -> Equation) -> (Message -> Equation) -> Variable * Variable list -> Equation
|
Create an |
createSumEqExc
Signature: Variable * Variable list -> Equation
|
Create an |
equals eq1 eq2
Signature: eq1:Equation -> eq2:Equation -> bool
|
Check whether |
find vr eq
Signature: vr:Variable -> eq:Equation -> Variable list
|
Find a |
findName n eq
Signature: n:Name -> eq:Equation -> Variable list
|
Find a |
isProduct
Signature: Equation -> bool
|
Check whether an |
isSolvable _arg1
Signature: _arg1:Equation -> bool
|
|
isSolved _arg1
Signature: _arg1:Equation -> bool
|
|
isSum
Signature: Equation -> bool
|
Check whether an |
nonZeroOrNegative e
Signature: e:Equation -> Equation
|
Make sure that the |
raiseExc m
Signature: m:Message -> '?7036
Type parameters: '?7036 |
Raise an |
replace v e
Signature: v:Variable -> e:Equation -> Equation
|
|
solve e
Signature: e:Equation -> Variable list
|
Solve an equation e, return a list of
changed |
toVars
Signature: Equation -> Variable list
|