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
domainelement-like Evaluation point of the derivative
Returns
derivative :
OperatorLeftScalarMultExamples
>>> 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.])
- x