Skip to content
Oakfield Operator Calculus Function Reference Site

Warp Gradients

For a differentiable warp w:RdRdw : \mathbb{R}^d \to \mathbb{R}^d, the warp gradient (Jacobian) is

Jw(x)=w(x)=[wixj(x)]i,j=1dJ_w(x) = \nabla w(x) = \left[\frac{\partial w_i}{\partial x_j}(x)\right]_{i,j=1}^{d}

Defined wherever ww is differentiable. Input xRdx \in \mathbb{R}^d; output is a d×dd \times d matrix.


Determinant detJw\det J_w measures local volume change; singular values quantify local stretching. Composition satisfies Jwv(x)=Jw(v(x))Jv(x)J_{w \circ v}(x) = J_w(v(x))\,J_v(x).


For linear warps w(x)=Axw(x) = Ax, Jw=AJ_w = A everywhere. For conformal maps in d=2d=2, JwJ_w is a scaled rotation when ww is analytic.


  • Linear warp: constant Jacobian.
  • Conformal 2D warp: Jacobian is a scaled rotation away from critical points.

Analytic warp maps provide concrete ww; phase-space warps extend the Jacobian to canonical coordinates; hyperexponential warps furnish scalar factors embedded in ww.


Oakfield computes “warp gradients” in the concrete sense of profile gradient sampling for analytic warp updates:

  • Warp safety layer (warp_safety) samples profile gradients and applies continuity/clamp policies when the raw evaluation is invalid.
  • Analytic warp profiles supply gradients for digamma/trigamma/tanh/power/hyperexp/qhyperexp paths; these gradients drive the per-step warp response.
  • Diagnostics: continuity counters distinguish operators that wrote with clamped/limited guards versus unconstrained writes (surfaced in field stats).

Jacobians quantify local linearization and volume distortion under mappings, underpinning change-of-variables formulas and differential geometry.

Warp gradients are essential for transforming PDE operators, densities, and metrics under coordinate remapping.


  • Evans, Partial Differential Equations
  • Lee, Introduction to Smooth Manifolds