Documentation |
Financial time series division
newfts = tsobj_1 ./ tsobj_2 newfts = tsobj ./ array newfts = array ./ tsobj
tsobj_1, tsobj_2 | Pair of financial time series objects. |
array | Scalar value or array with the number of rows equal to the number of dates in tsobj and the number of columns equal to the number of data series in tsobj. |
The rdivide method divides, element by element, the components of one financial time series object by the components of the other. You can also divide the whole object by an array or divide a financial time series object into an array.
If an object is to be divided by another object, both objects must have the same dates and data series names, although the order need not be the same. The order of the data series, when an object is divided by another object, follows the order of the first object.
newfts = tsobj_1 ./ tsobj_2 divides financial time series objects element by element.
newfts = tsobj ./ array divides a financial time series object element by element by an array.
newfts = array ./ tsobj divides an array element by element by a financial time series object.
For financial time series objects, the rdivide operation is identical to the mrdivide operation.