#include <kschan.h>
Public Member Functions | |
KSChanFunction () | |
virtual | ~KSChanFunction () |
virtual int | type () |
virtual double | f (double v) |
void | f (int cnt, double *v, double *val) |
double | c (int i) |
Static Public Member Functions | |
static KSChanFunction * | new_function (int type, Vect *, double, double) |
static double | Exp (double x) |
Public Attributes | |
Vect * | gp_ |
KSChanFunction::KSChanFunction | ( | ) |
Referenced by new_function().
KSChanFunction::~KSChanFunction | ( | ) | [virtual] |
double KSChanFunction::c | ( | int | i | ) | [inline] |
References gp_.
Referenced by KSTransition::alpha(), KSTransition::beta(), KSChanBGtau::f(), KSChanBGinf::f(), KSChanSigmoid::f(), KSChanLinoid::f(), KSChanExp::f(), KSChanConst::f(), and KSChanTable::f().
static double KSChanFunction::Exp | ( | double | x | ) | [inline, static] |
References exp.
Referenced by KSChanBGtau::f(), KSChanBGinf::f(), KSChanSigmoid::f(), KSChanLinoid::f(), and KSChanExp::f().
virtual double KSChanFunction::f | ( | double | v | ) | [inline, virtual] |
Reimplemented in KSChanConst, KSChanExp, KSChanLinoid, KSChanSigmoid, KSChanBGinf, KSChanBGtau, and KSChanTable.
Referenced by KSTransition::ab(), KSTransition::alpha(), KSTransition::beta(), f(), KSTransition::inf(), KSTransition::inftau(), and KSTransition::tau().
KSChanFunction * KSChanFunction::new_function | ( | int | type, | |
Vect * | vec, | |||
double | vmin, | |||
double | vmax | |||
) | [static] |
References gp_, hoc_obj_ref(), and KSChanFunction().
Referenced by KSTransition::setf().
virtual int KSChanFunction::type | ( | ) | [inline, virtual] |
Reimplemented in KSChanConst, KSChanExp, KSChanLinoid, KSChanSigmoid, KSChanBGinf, KSChanBGtau, and KSChanTable.
Referenced by KSTransition::ab(), and KSTransition::inftau().
Vect* KSChanFunction::gp_ |
Referenced by c(), KSChanTable::f(), KSChanFunction(), new_function(), and ~KSChanFunction().