C# Class numl.Math.Functions.ClippedRectifiedLinear

A clipped rectified linear function.
Inheritance: Function
Datei anzeigen Open project: sethjuarez/numl

Public Methods

Method Description
ClippedRectifiedLinear ( )

Initializes a new Clipped Rectified Linear function with default maximum of 5.

Compute ( double x ) : double

Computes the given x coordinate.

Derivative ( double x ) : double

Derivatives the given x coordinate.

Method Details

ClippedRectifiedLinear() public method

Initializes a new Clipped Rectified Linear function with default maximum of 5.

Compute() public method

Computes the given x coordinate.
public Compute ( double x ) : double
x double The Vector to process.
return double

Derivative() public method

Derivatives the given x coordinate.
public Derivative ( double x ) : double
x double The Vector to process.
return double