ProductSpaceCustomNorm
- class odl.core.space.pspace.ProductSpaceCustomNorm(norm)[source]
Bases:
CustomNormClass for handling a user-specified norm on
ProductSpace.Note that this removes
inner.- __init__(norm)[source]
Initialize a new instance.
Parameters
- normcallable
The norm implementation. It must accept a
ProductSpaceElementargument, return a float and satisfy the following conditions for all space elementsx, yand scalarss:||x|| >= 0||x|| = 0if and only ifx = 0||s * x|| = |s| * ||x||||x + y|| <= ||x|| + ||y||