op.div
opTo apply an op.div
operation, N parameters are on top of the stack: N-1 Geo Time Series™ lists and one labels List. According to those labels, it produces multiple equivalence classes from the GTS inside those N-1 lists (if they match the same labels as the equivalence class). Then op.div is applyied to the GTS in those classes, building only one result GTS for each class.
The op.div
operation can only operate on equivalence classes which have two GTS (if the equivalence class has more than two GTS, there is no result guaranted). It will divide at each tick the value of the first GTS by the value of the second GTS. To produce a result, both GTS of a same class must have a value at a same tick.
The type of the resulting GTS will be determined by the first non null value. It only operates on LONG and DOUBLE.
The name of the resulting GTS is the one of the last GTS of the equivalence class. The labels kept are the one of the equivalence class.