function Namespace Reference


const double heavyside (const double x)
const double sigmoid (const double x)

Detailed Description

This is a namespace that declares functions used in a variety of places in this application.

Toby D. Young 2010.

Function Documentation

const double function::heavyside ( const double  x ) [inline]

The heavyside step-function $H(x)$, also known as the unit stpe-function, is defined as:

\[ H(x)=\left\{\begin{array}{cc}0&x<0\\1&x\geq0\end{array}\right.\quad. \]

const double function::sigmoid ( const double  x ) [inline]

A process that exhibits a progression from small-to-large and accelerates can sometimes be mapped using a Sigmoid function. This is particuarily useful when a detailed description of the process is lacking. The Sigmoid function $S(x)$ is defined as:

\[ S(x)=\frac{1}{1+e^{-x}}\quad. \]