Learn R Programming

cgraph (version 3.0.1)

rowSums_grad: Row Sums Gradient

Description

Calculate the gradient of rowSums(x) with respect to x.

Arguments

x

numeric array, value of x.

val

numeric array, value of rowSums(x).

grad

numeric array, gradient of x.

Value

numeric vector or array, gradient of the operation.