Logo GenPRES

Operators Module

Holds the operators to calculate with two variables and to restrict a variable, the constants 1, 2 and 3, and the text of an operator.

Functions and values

Function or value Description

vr1 @* vr2

Full Usage: vr1 @* vr2

Parameters:
Returns: Variable
Modifiers: inline
vr1 : Variable
vr2 : Variable
Returns: Variable

vr1 ^* vr2

Full Usage: vr1 ^* vr2

Parameters:
Returns: Variable
Modifiers: inline
vr1 : Variable
vr2 : Variable
Returns: Variable

vr1 @+ vr2

Full Usage: vr1 @+ vr2

Parameters:
Returns: Variable
Modifiers: inline
vr1 : Variable
vr2 : Variable
Returns: Variable

vr1 @- vr2

Full Usage: vr1 @- vr2

Parameters:
Returns: Variable
Modifiers: inline
vr1 : Variable
vr2 : Variable
Returns: Variable

vr1 @/ vr2

Full Usage: vr1 @/ vr2

Parameters:
Returns: Variable
Modifiers: inline
vr1 : Variable
vr2 : Variable
Returns: Variable

vr1 @<- vr2

Full Usage: vr1 @<- vr2

Parameters:
Returns: Variable
Modifiers: inline
vr1 : Variable
vr2 : Variable
Returns: Variable

vr1 ^+ vr2

Full Usage: vr1 ^+ vr2

Parameters:
Returns: Variable
Modifiers: inline
vr1 : Variable
vr2 : Variable
Returns: Variable

vr1 ^- vr2

Full Usage: vr1 ^- vr2

Parameters:
Returns: Variable
Modifiers: inline
vr1 : Variable
vr2 : Variable
Returns: Variable

vr1 ^/ vr2

Full Usage: vr1 ^/ vr2

Parameters:
Returns: Variable
Modifiers: inline
vr1 : Variable
vr2 : Variable
Returns: Variable

one

Full Usage: one

Returns: Variable

Constant 1

Returns: Variable

opIsAdd op

Full Usage: opIsAdd op

Parameters:
Returns: bool

Check whether the operator is addition

op : Variable -> Variable -> Variable
Returns: bool

opIsDiv op

Full Usage: opIsDiv op

Parameters:
Returns: bool

Check whether the operator is division

op : Variable -> Variable -> Variable
Returns: bool

opIsMult op

Full Usage: opIsMult op

Parameters:
Returns: bool

Check whether the operator is multiplication

op : Variable -> Variable -> Variable
Returns: bool

opIsSubtr op

Full Usage: opIsSubtr op

Parameters:
Returns: bool

Check whether the operator is subtraction

op : Variable -> Variable -> Variable
Returns: bool

three

Full Usage: three

Returns: Variable

Constant 3

Returns: Variable

toString op

Full Usage: toString op

Parameters:
Returns: string
op : Variable -> Variable -> Variable
Returns: string

two

Full Usage: two

Returns: Variable

Constant 2

Returns: Variable

Type something to start searching.