ConstWeighting
- class odl.core.space.weightings.weighting.ConstWeighting(const, impl, device, exponent=2.0)[source]
Bases:
WeightingWeighting of a space by a constant.
- __init__(const, impl, device, exponent=2.0)[source]
Initialize a new instance.
Parameters
- constantpositive float
Weighting constant of the inner product.
- implstring
Specifier for the implementation backend.
- device :
device identifier, compatible with the backend associated with
impl- exponentpositive float, optional
Exponent of the norm. For values other than 2.0, the inner product is not defined.