#include <PotentialFunctions.h>
Inheritance diagram for LinearFunction:


Public Member Functions | |
| LinearFunction (double range, double atZero) | |
| Constructor. | |
| virtual PotentialfieldFunction * | clone () |
| Clones a function object. | |
Protected Member Functions | |
| double | f (double x) const |
| Computes the value of the function for a given x. | |
| double | d (double x) const |
| Computes the value of the derivative of the function for a given x. | |
| virtual double | dd (double x) const |
| Computes the value of the second derivative of the function for a given x. | |
| virtual void | init () |
| Computes the values of a and b. | |
Definition at line 181 of file PotentialFunctions.h.
|
||||||||||||
|
Constructor.
Definition at line 189 of file PotentialFunctions.h. References init(). Referenced by clone(). |
Here is the call graph for this function:

|
|
Clones a function object.
Implements PotentialfieldFunction. Definition at line 199 of file PotentialFunctions.h. References PotentialfieldFunction::getStandardParameters(), and LinearFunction(). |
Here is the call graph for this function:

|
|
Computes the value of the function for a given x.
Reimplemented from PotentialfieldFunction. Definition at line 211 of file PotentialFunctions.h. |
|
|
Computes the value of the derivative of the function for a given x.
Reimplemented from PotentialfieldFunction. Definition at line 220 of file PotentialFunctions.h. |
|
|
Computes the value of the second derivative of the function for a given x.
Reimplemented from PotentialfieldFunction. Definition at line 229 of file PotentialFunctions.h. |
|
|
Computes the values of a and b.
Reimplemented from PotentialfieldFunction. Definition at line 235 of file PotentialFunctions.h. Referenced by LinearFunction(). |
1.3.6