Logo GenPRES

Determination Module

Finds the variables of an order that a set of given variables determines, by elimination over the product equations and the sum equations. A product equation y = x1 * x2 * .. is linear in the logarithms of its variables, so the elimination finds every variable the given variables fix, also when only several equations together fix the variable. A sum equation with one unknown variable, the total or a term, fixes the unknown variable. Only a given variable with a single value fixes other variables.

Types

Type Description

Model

The equations of an order by variable name: a product equation as exponents, +1 for y and -1 for every x, and a sum equation as y and the xs.

Functions and values

Function or value Description

closure m known

Full Usage: closure m known

Parameters:
Returns: Set<Name>

Returns the variables the known variables determine, repeated until nothing changes. An equation row with one unknown variable left after the elimination fixes that variable, and a sum with one unknown term fixes that term.

m : Model
known : Set<Name>
Returns: Set<Name>

ofOrder ord

Full Usage: ofOrder ord

Parameters:
Returns: Model

The model of the equations of an order.

ord : Order
Returns: Model

rref rows

Full Usage: rref rows

Parameters:
Returns: Map<Name, BigRational> list

The rows in reduced row echelon form.

rows : Map<Name, BigRational> list
Returns: Map<Name, BigRational> list

undeterminedBy kept ord

Full Usage: undeterminedBy kept ord

Parameters:
Returns: Set<Name>

Returns the variables of the order equations that the given variables with a single value do not determine. A given variable is never undetermined, also when it has more than one value.

kept : Set<Name>
ord : Order
Returns: Set<Name>

Type something to start searching.