Skip to content
Oakfield Operator Calculus Function Reference Site

Power-Law Warp

For p>0p > 0, define the power-law warp

ωp(x)=sgn(x)xp\omega_p(x) = \operatorname{sgn}(x)\,|x|^{p}

with sgn(0)=0\operatorname{sgn}(0) = 0.

xRx \in \mathbb{R} (or Rd\mathbb{R}^d applied componentwise). Output is real-valued; monotone increasing for p>0p > 0.


ωp(x)=ωp(x),ωp(x)=pxp1(x0),ωp(λx)=λpωp(x) (λ>0)\omega_p(-x) = -\omega_p(x), \qquad \omega_p'(x) = p\,|x|^{p-1}\quad (x \ne 0), \qquad \omega_p(\lambda x) = \lambda^{p} \omega_p(x)\ (\lambda > 0)

p=1p = 1 yields the identity map; p=2p = 2 yields ω2(x)=xx\omega_2(x)=x|x| with slope ω2(x)=2x\omega_2'(x)=2|x| (flattening to 00 at the origin); p0+p \to 0^+ compresses amplitudes toward sgn(x)\operatorname{sgn}(x).


  • p=1p=1 is identity; p>1p>1 expands large magnitudes; 0<p<10<p<1 compresses them.
  • As p0+p\to 0^+, ωp(x)\omega_p(x) approaches sgn(x)\operatorname{sgn}(x) for x0x\ne 0.

Serves as a simple analytic warp; connects to fractional derivatives through the same power-law exponents.


Oakfield uses power-law mappings in its built-in warp and measurement operators:

  • Analytic warp (POWER profile) applies a power-based response with sign/magnitude handling and a computed gradient used in the warp update.
  • Remainder (POWER nonlinearity) applies a power transform before differencing, with an epsilon guard to avoid singular behavior near zero.
  • Power laws also appear in spectral operators (e.g. dispersion uses pow(|k-k0|, order)), but those are spectral-phase laws rather than pointwise warps.

Power-law mappings are classic nonlinear rescalings that encode multiplicative similarity and are widely used for contrast enhancement and shaping.

They remain a simple, tunable warp with predictable monotonic behavior and easy implementation.


  • Rudin, Real and Complex Analysis