|
Jpp
17.1.0
the software that should make you happy
|
Trigonometric function object for sin and cos.
More...
#include <JTrigonometric.hh>
Public Types | |
| typedef double(* | pF )(double) |
| Type definition of pointer to trigonometric function. More... | |
Public Member Functions | |
| JTrigonometric (pF f1, const double factor=1.0) | |
| Constructor. More... | |
| double | getValue (const double x) const |
| Function value. More... | |
| double | getDerivative (const double x) const |
| Derivative value. More... | |
| double | getIntegral (const double x) const |
| Integral value. More... | |
| double | operator() (const double x) const |
| Function value. More... | |
| JTrigonometric | getDerivative () const |
| Derivative function. More... | |
| JTrigonometric | getIntegral () const |
| Integral function. More... | |
Protected Attributes | |
| pF | f1 |
| double | factor |
Friends | |
| std::istream & | operator>> (std::istream &in, JTrigonometric &object) |
| Read trigonometric from input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JTrigonometric &object) |
| Write trigonometric to output. More... | |
Trigonometric function object for sin and cos.
Evaluation of function, derivative and integral values.
Definition at line 28 of file JTrigonometric.hh.
| typedef double(* JMATH::JTrigonometric::pF)(double) |
Type definition of pointer to trigonometric function.
Definition at line 33 of file JTrigonometric.hh.
|
inline |
Constructor.
| f1 | pointer to function |
| factor | multiplication factor |
Definition at line 42 of file JTrigonometric.hh.
|
inline |
Function value.
| x | abscissa value |
Definition at line 59 of file JTrigonometric.hh.
|
inline |
Derivative value.
| x | abscissa value |
Definition at line 71 of file JTrigonometric.hh.
|
inline |
Integral value.
| x | abscissa value |
Definition at line 83 of file JTrigonometric.hh.
|
inline |
Function value.
| x | abscissa value |
Definition at line 95 of file JTrigonometric.hh.
|
inline |
Derivative function.
Definition at line 106 of file JTrigonometric.hh.
|
inline |
Integral function.
Definition at line 122 of file JTrigonometric.hh.
|
friend |
Read trigonometric from input.
| in | input stream |
| object | trigonometric |
Definition at line 140 of file JTrigonometric.hh.
|
friend |
Write trigonometric to output.
| out | output stream |
| object | trigonometric |
Definition at line 164 of file JTrigonometric.hh.
|
protected |
Definition at line 179 of file JTrigonometric.hh.
|
protected |
Definition at line 180 of file JTrigonometric.hh.
1.8.5