Download odl Documentation
Transcript
odl Documentation, Release beta FunctionSpace.element FunctionSpace.element(fcall=None, fapply=None) Create a FunctionSpace element. Parametersfcall : callable, optional The actual instruction for out-of-place evaluation. It must return an FunctionSet.range element or a numpy.ndarray of such (vectorized call). If fcall is a FunctionSetVector, FunctionSpaceVector. it is wrapped as a new fapply : callable, optional The actual instruction for in-place evaluation. Its first argument must be the FunctionSet.range element or the array of such (vectorization) to which the result is written. If fapply is a FunctionSetVector, FunctionSpaceVector. it is wrapped as a new Returnselement : FunctionSpaceVector The new element. FunctionSpace.zero FunctionSpace.zero() The function mapping everything to zero. Notes Since FunctionSpace._lincomb is slow, we implement this function directly. __init__(dom, field=RealNumbers()) Initialize a new instance. Parametersdom : Set The domain of the functions. field : RealNumbers or ComplexNumbers The range of the functions. FunctionSpaceVector class odl.space.fspace.FunctionSpaceVector(fspace, fcall=None, fapply=None) Bases: odl.space.fspace.FunctionSetVector, odl.set.space.LinearSpaceVector Representation of a FunctionSpace element. Attributes T adjoint 2.4. odl The transpose of a vector, the functional given by (. The operator adjoint (abstract). Continued on next page 257