Header menu logo issie

ParamExpression Type

An arithmetic expression containing symbolic parameters For MVP this could be limited to PInt and PParameter only. However, it would be useful to have a more general type definition so that functions that manipulate constraints, parameters, etc can be written in a more general way. The actual parameter value is customisable so that the same code can be used for int parameters (normal) and BigInt parameters (needed for constant values in N bit components). For MVP set 'PINT = int TODO: refactor this to use an enumeration DU for operators to reduce cases.

Union cases

Union case Description
Item1 : ParamExpression
Item2 : ParamExpression
Item1 : ParamExpression
Item2 : ParamExpression

PInt ParamInt

Full Usage: PInt ParamInt

Parameters:
Item : ParamInt
Item1 : ParamExpression
Item2 : ParamExpression

PParameter ParamName

Full Usage: PParameter ParamName

Parameters:
Item : ParamName
Item1 : ParamExpression
Item2 : ParamExpression
Item1 : ParamExpression
Item2 : ParamExpression

Instance members

Instance member Description

this.IsPAdd

Full Usage: this.IsPAdd

Returns: bool
Returns: bool

this.IsPDivide

Full Usage: this.IsPDivide

Returns: bool
Returns: bool

this.IsPInt

Full Usage: this.IsPInt

Returns: bool
Returns: bool

this.IsPMultiply

Full Usage: this.IsPMultiply

Returns: bool
Returns: bool

this.IsPParameter

Full Usage: this.IsPParameter

Returns: bool
Returns: bool

this.IsPRemainder

Full Usage: this.IsPRemainder

Returns: bool
Returns: bool

this.IsPSubtract

Full Usage: this.IsPSubtract

Returns: bool
Returns: bool

Type something to start searching.