ConstantFunctional
- class odl.functionals.default_functionals.ConstantFunctional(*args, **kwargs)[source]
Bases:
FunctionalThe constant functional.
This functional maps all elements in the domain to a given, constant value.
- __init__(space, constant)[source]
Initialize a new instance.
Parameters
- space
LinearSpace Domain of the functional.
- constantelement in
domain.field The constant value of the functional
- space