logaddexp2_op

class odl.ufunc_ops.ufunc_ops.logaddexp2_op(*args, **kwargs)

Bases: odl.operator.operator.Operator

Logarithm of the sum of exponentiations of the inputs in base-2.

See also

numpy.logaddexp2

Examples

>>> import odl
>>> space = odl.rn(3)
>>> op = odl.ufunc_ops.logaddexp2(space)
>>> print(op([[-1.,  1.,  2.], [ 3.,  4.,  5.]]))
[ 3.08746284,  4.169925  ,  5.169925  ]
Attributes
adjoint

Adjoint of this operator (abstract).

domain

Set of objects on which this operator can be evaluated.

inverse

Return the operator inverse.

is_functional

True if this operator’s range is a Field.

is_linear

True if this operator is linear.

range

Set in which the result of an evaluation of this operator lies.

Methods

_call(self, x[, out])

Return self(x).

derivative(self, point)

Return the operator derivative at point.

norm(self[, estimate])

Return the operator norm of this operator.

__init__(self, space)

Initialize an instance.

Parameters
spaceTensorSpace

The domain of the operator.