pytvx.TvfOp

class pytvx.TvfOp(lhs: Union[float, Tvf, PyTvf], rhs: Union[float, Tvf, PyTvf])[source]

Bases: pytvx.PyTvf

An abstract base class for a PyTvf that is the result of applying a binary operator to two other PyTvf instances.

Derived classes fill in the actual operator functionality as appropriate.

Parameters
  • lhs – The left-hand side of the binary operator expression.

  • rhs – The right-hand side of the binary operator expression.

Methods

indent_repr

abstract __call__(t: float) float[source]

Compute the floating point value of this object at a given time.

Parameters

t – The time at which to evaluate.

Returns

The value at time t.

Return type

float