zoomy_core.derivatives

zoomy_core.derivatives#

Derivative sugar bound to the canonical coordinates.

import zoomy_core.derivatives as d
d.t(u)       # ->  Derivative(u, t)        (∂u/∂t)
d.x(f, 2)    # ->  Derivative(f, (x, 2))   (∂²f/∂x²)

Every helper differentiates with respect to the matching symbol in zoomy_core.coords, so d.t and your fields share the same t.

Module Contents#

Functions#

t

∂ⁿ/∂tⁿ of expr.

x

∂ⁿ/∂xⁿ of expr.

y

∂ⁿ/∂yⁿ of expr.

z

∂ⁿ/∂zⁿ of expr.

zeta

∂ⁿ/∂ζⁿ of expr (the mapped reference coordinate).

API#

zoomy_core.derivatives.t(expr, n=1)#

∂ⁿ/∂tⁿ of expr.

zoomy_core.derivatives.x(expr, n=1)#

∂ⁿ/∂xⁿ of expr.

zoomy_core.derivatives.y(expr, n=1)#

∂ⁿ/∂yⁿ of expr.

zoomy_core.derivatives.z(expr, n=1)#

∂ⁿ/∂zⁿ of expr.

zoomy_core.derivatives.zeta(expr, n=1)#

∂ⁿ/∂ζⁿ of expr (the mapped reference coordinate).