Download odl Documentation

Transcript
odl Documentation, Release beta
An object in the operator range, the result of the operator evaluation. It is identical to
out if provided.
Examples
>>>
>>>
>>>
>>>
from odl import Rn, ScalingOperator
rn = Rn(3)
op = ScalingOperator(rn, 2.0)
x = rn.element([1, 2, 3])
Out-of-place evaluation:
>>> op(x)
Rn(3).element([2.0, 4.0, 6.0])
In-place evaluation:
>>> y = rn.element()
>>> op(x, out=y)
Rn(3).element([2.0, 4.0, 6.0])
>>> y
Rn(3).element([2.0, 4.0, 6.0])
FunctionalLeftVectorMult._apply
FunctionalLeftVectorMult._apply(x, out)
Implement op(x, out=out).
FunctionalLeftVectorMult._call
FunctionalLeftVectorMult._call(x)
Return op(x).
FunctionalLeftVectorMult.derivative
FunctionalLeftVectorMult.derivative(x)
Return the derivative at x.
Left scalar multiplication and derivative are commutative:
FunctionalLeftVectorMult(op, vector).derivative(x) <==>
FunctionalLeftVectorMult(op.derivative(x), vector)
See also:
FunctionalLeftVectorMultthe result
__init__(op, vector)
Initialize a new FunctionalLeftVectorMult instance.
Parametersop : Operator
The range of op must be a Field.
vector : LinearSpaceVector
The vector to multiply by. its space’s LinearSpace.field must be the same as
op.range
2.4. odl
123