powered by
Calculate the gradient of array(x) with respect to x.
array(x)
x
numeric vector or array, value of x.
numeric scalar or vector, value of dim.
dim
numeric vector or array, value of array(x).
numeric vector or array, gradient of x.
numeric vector or array, gradient of the operation.