Ramp_open

rescale-functions ramp_open

syntax

  • ramp_open(startvalue, uptovalue, domainunit)

definition

ramp_open(startvalue, uptovalue, domainunit) ramp values, starting with the startvalue argument up to the uptovalue argument.

The uptovalue argument itself is not part of the resulting attribute.

The number of values is defined by the cardinality of the domain-unit argument.

applies to

unit domain unit with value-type from group CanBeDomainUnit

since version

7.031

example

attribute<uint32> ramped (City) := ramp_open(0, 70, City);
ramped
0
10
20
30
40
50
60

domain City, nr of rows = 7

see also