identity function as sigmoid More...
#include <sigmoid.h>
Public Member Functions | |
double | f (double x) const |
This should return the value of the sigmoid itself (between 0 and 1). | |
double | df (double x) const |
This should give the first derivative of the sigmoid. | |
double | ddf (double x) const |
This should give the second derivative of the sigmoid. | |
double | inv (double x) const |
This should give the inverse of the sigmoid (taking values between 0 and 1). | |
int | getcode (void) const |
return the sigmoid identifier | |
PsiSigmoid * | clone (void) const |
clone object by value | |
Static Public Member Functions | |
static std::string | getDescriptor (void) |
get a short string that identifies the type of sigmoid |
identity function as sigmoid
This is useful if the desired function cannot be separated to the form sigmoid + core and the whole function has to be implemented in the core object. An example for this case is the Naka-Rushton nonlinearity typically used to model electrophysiological data.