const
Input Stack: |
⇨ |
Output Stack: |
Generates a time series where each datapoint has the same constant value. Since any numeric value
left on the stack is automatically converted to a constant line, this operator is rarely used
explicitly. It's mainly useful for clarity or when you need to be explicit about the conversion.
Parameters
- value: The constant numeric value for all datapoints in the time series
Examples
Creating an explicit constant line (though 42
alone would produce the same result):
- :time - Generate time-based values instead of constants
- :random - Generate random values instead of constants
- Mathematical operators like :add, :sub for combining with constants