pytvx.PyTvfUnOp

class pytvx.PyTvfUnOp(x: Union[float, Tvf, PyTvf])[source]

Bases: pytvx.PyTvf

An abstract base class for a PyTvf that is the result of applying a unary operator to a PyTvf instance.

Derived classes fill in the actual operator functionality as appropriate.

Parameters

x – The value the operator is applied to.

Methods

indent_repr

abstract __call__(t: float)

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