Class Function

class libcalculus.Function

A class that represents a generic function (complex, real, etc.), deducing types only when used.

__add__()

Add the function with a constant or another function.

__call__()

Evaluate the function at a point or on an np.ndarray of points.

__eq__()

Return a Comparison that evaluates to True wherever the function equals another function or a constant.

__ge__()

Return a Comparison that evaluates to True wherever the function is greater than or equal to another function or a constant.

__gt__()

Return a Comparison that evaluates to True wherever the function is greater than another function or a constant.

__iadd__()

Add the function in-place with a constant or another function.

__imul__()

Multiply the function in-place with a constant or another function.

__ipow__()

Raise the function in-place to the power of a constant or another function.

__isub__()

Subtract a constant or another function from the function, in-place.

__itruediv__()

Divide the function in-place by a constant or another function.

__le__()

Return a Comparison that evaluates to True wherever the function is smallar than or equal to another function or a constant.

__lt__()

Return a Comparison that evaluates to True wherever the function is smallar than another function or a constant.

__mul__()

Multiply the function with a constant or another function.

__ne__()

Return a Comparison that evaluates to True wherever the function does not equal another function or a constant.

__neg__()

The additive inverse of the function.

__pow__()

Raise the function to the power of a constant or another function.

__sub__()

Subtract a constant or another function from the function.

__truediv__()

Divide the function by a constant or another function.

copy(self)
latex(self, unicode varname=u'x')

Generate LaTeX markup for the function.