Public Member Functions | Static Public Member Functions

PsiId Class Reference

identity function as sigmoid More...

#include <sigmoid.h>

Inheritance diagram for PsiId:
PsiSigmoid

List of all members.

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
PsiSigmoidclone (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

Detailed Description

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.


The documentation for this class was generated from the following file: