DX¶
-
class
menpofit.differentiable.
DX
¶ Bases:
object
Object that is able to take its own derivative with respect to spatial changes.
-
d_dx
(points)¶ The first order derivative of this spatial object with respect to spatial changes evaluated at points.
Parameters: points ( (n_points, n_dims)
ndarray) – The spatial points at which the derivative should be evaluated.Returns: d_dx ( (n_points, n_dims, n_dims)
ndarray) – The Jacobian wrt spatial changes.d_dx[i, j, k]
is the scalar differential change that thej
‘th dimension of thei
‘th point experiences due to a first order change in thek
‘th dimension.It may be the case that the Jacobian is constant across space - in this case axis zero may have length
1
to allow for broadcasting.
-