Learn R Programming

cgraph (version 3.0.1)

pmax_grad_y: Parallel Maxima Gradient

Description

Calculate the gradient of pmax(x, y) with respect to y.

Arguments

x

numeric vector or array, value of x.

y

numeric vector or array, value of y.

val

numeric vector or array, value of pmax(x, y).

grad

numeric vector or array, gradient of y.

Value

numeric vector or array, gradient of the operation.