#include <func.h>
Inheritance diagram for punnets_common::func_exp:

Public Methods | |
| func_exp (real ir, real ipsi, real it0) | |
| Constructs a func_exp with initial value r at time t0, and decay constant psi. | |
| virtual real | getMaxGradient (ntime_t t) const |
| A pure virtual function that returns the max gradient of the function after the time t. | |
| virtual real | getValue (ntime_t t) const |
| A pure virtual function that returns f(t). | |
| virtual real | get1stDeriv (ntime_t t) const |
| A pure virtual function that returns df(t)/dt. | |
| virtual real | get2ndDeriv (ntime_t t) const |
| A pure virtual function that returns d2f(t)/dt2. | |
| virtual ntime_t | getNextIncontinuity (ntime_t) const |
| virtual void | getValueDomain (ntime_t t, real &upslope, real &ceil, real &downslope, real &floor) const |
| Obtains a zeroth-order linear envelope of the function. floor < f(t+α) < ceil, f(t)+αdownslope < f(t+α) < f(t)+αupslope. | |
| virtual void | get1stDerivDomain (ntime_t t, real &upslope, real &ceil, real &downslope, real &floor) const |
| Obtains a first--order linear envelope of the function. floor < f(t+α) < ceil, f(t)+αdownslope < f(t+α) < f(t)+αupslope. | |
| virtual void | get2ndDerivDomain (ntime_t t, real &upslope, real &ceil, real &downslope, real &floor) const |
| Obtains a second-order linear envelope of the function. floor < f(t+α) < ceil, f(t)+αdownslope < f(t+α) < f(t)+αupslope. | |
| virtual func_exp * | clone () |
| Allocates and returns another instance of this function. | |
| virtual std::string | getDescription () |
| Obtains a human-readable description string of this function. | |
Exponentially decaying function f(t) = r exp( - ψ (t - t0) ).
Definition at line 655 of file func.h.
|
|
A virtual function that returns the next incontinuity point after the time t. In func_base, the function always returns infinity. Reimplemented from punnets_common::func_base. Definition at line 679 of file func.h. References punnets_common::ntime_t.
00679 { return mak::Infinity; };
|
1.2.18