Boundrange

unit-functions boundrange

syntax

  • boundrange(unit)

definition

boundrange(unit) results in parameter with the size of the range of the unit argument.

The values-unit of the resulting parameter is the unit argument

applies to

  • unit unit with Numeric or Point value type

example

unit<float32>      domainB: nrofrows = 6;
parameter<domainB> boundrange_domainB := boundrange(domainB);

result boundrange_domainB = 6

see also