Vector and scalar calculations in UCE
One way to understand how UCE works is to think of it like a spreadsheet. Using this analogy, a row represents a period of time and a column represents an interval stream.
Vector functions operate across all rows or periods-of-time, and return a value for each interval.
Scalar functions operate along a single column or interval stream and return a discrete value or values based on data in that interval stream.
When a formula contains discrete vector and scalar components, UCE assumes that the calculation is a vector calculation and that the scalar result applies to each interval. In other words, UCE calculates the scalar value for each interval, but delivers the final result as a vector. However, if the formula uses a vector function as an argument for a scalar function, UCE returns a single scalar result.
Related topics: