OperatorLeftScalarMult.derivative¶
- OperatorLeftScalarMult.derivative(x)[source]¶
Return the derivative at
x
.Left scalar multiplication and derivative are commutative:
OperatorLeftScalarMult(op, s).derivative(y) == OperatorLeftScalarMult(op.derivative(y), s)
- Parameters:
- x
domain
element-like
Evaluation point of the derivative
- x
- Returns:
- derivative
OperatorLeftScalarMult
- derivative
Examples
>>> space = odl.rn(3) >>> operator = odl.IdentityOperator(space) - space.element([1, 1, 1]) >>> left_mul_op = OperatorLeftScalarMult(operator, 3) >>> derivative = left_mul_op.derivative([0, 0, 0]) >>> derivative([1, 1, 1]) rn(3).element([ 3., 3., 3.])