Learn R Programming

FBMS (version 1.0)

nrelu: negative ReLu function

Description

negative ReLu function

Usage

nrelu(x)

Value

max(-x,0)

Arguments

x

The vector of values

Examples

Run this code
nrelu(2)

Run the code above in your browser using DataLab