bitwise_or_op¶
- class odl.ufunc_ops.ufunc_ops.bitwise_or_op(*args, **kwargs)¶
Bases:
OperatorCompute the bit-wise OR of two arrays element-wise.
See also
Examples
>>> import odl >>> space = odl.tensor_space(3, dtype=int) >>> op = odl.ufunc_ops.bitwise_or(space) >>> print(op([[-1, 1, 2], [3, 4, 5]])) [-1, 5, 7]
- Attributes:
adjointAdjoint of this operator (abstract).
domainSet of objects on which this operator can be evaluated.
inverseReturn the operator inverse.
is_functionalTrueif this operator's range is aField.is_linearTrueif this operator is linear.rangeSet in which the result of an evaluation of this operator lies.
Methods
__call__(x[, out])Return
self(x[, out, **kwargs]).derivative(point)Return the operator derivative at
point.norm([estimate])Return the operator norm of this operator.
- __init__(space)¶
Initialize an instance.
- Parameters:
- space
TensorSpace The domain of the operator.
- space