conj_exponent

odl.util.utility.conj_exponent(exp)[source]

Conjugate exponent exp / (exp - 1).

Parameters
exppositive float or inf

Exponent for which to calculate the conjugate. Must be at least 1.0.

Returns
conjpositive float or inf

Conjugate exponent. For exp=1, return float('inf'), for exp=float('inf') return 1. In all other cases, return exp / (exp - 1).