common base class for all sigmoids More...
#include <sigmoid.h>
Public Member Functions | |
virtual double | f (double x) const |
This should return the value of the sigmoid itself (between 0 and 1). | |
virtual double | df (double x) const |
This should give the first derivative of the sigmoid. | |
virtual double | ddf (double x) const |
This should give the second derivative of the sigmoid. | |
virtual double | inv (double p) const |
This should give the inverse of the sigmoid (taking values between 0 and 1). | |
virtual int | getcode (void) const |
return the sigmoid identifier | |
virtual 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 |
common base class for all sigmoids