saiunit.autograd module#
Unit-aware automatic differentiation.
Provides grad, value_and_grad, jacobian (jacrev/jacfwd),
hessian, and vector_grad that correctly track physical units
through JAX’s autodiff transformations.
First-order Gradients#
Unit-aware element-wise gradient of a vector-valued function. |
|
Physical unit-aware version of jax.value_and_grad. |
|
Physical unit-aware version of jax.grad. |
Jacobian Matrix#
Hessian Matrix#
Physical unit-aware Hessian of |