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