pytvx.TvfSum
- class pytvx.TvfSum(tvf_operands: Iterable[pytvx.PyTvf], const_val: float = 0.0)[source]
Bases:
pytvx.PyTvfA
PyTvfthat whose value at any given time is the sum of the values of a collection of otherPyTvfinstances at that time.This class implements an optimization such that if two
PyTvfinstances are added the result is a newPyTvfthat sums all the terms from the two instances.- Parameters
tvf_operands – The values to be summed up.
const_val – An optional constant value added to the sum.
Methods
indent_repr