|
Jpp
17.2.1-pre0
the software that should make you happy
|
Base class for Legendre polynome. More...
#include <JLegendre.hh>
Public Types | |
| typedef std::vector < JOrdinate_t > ::const_iterator | const_iterator |
| typedef std::vector < JOrdinate_t >::iterator | iterator |
| typedef std::vector < JOrdinate_t > ::const_reverse_iterator | const_reverse_iterator |
| typedef std::vector < JOrdinate_t > ::reverse_iterator | reverse_iterator |
Public Member Functions | |
| JLegendre_t () | |
| Default constructor. More... | |
| JLegendre_t (const double xmin, const double xmax) | |
| Constructor. More... | |
| virtual | ~JLegendre_t () |
| Virtual destructor. More... | |
| virtual JOrdinate_t | getValue (const double x) const =0 |
| Function value. More... | |
| JOrdinate_t | operator() (const double x) const |
| Function value. More... | |
| double | getXmin () const |
| Get minimal abscissa value. More... | |
| double | getXmax () const |
| Get maximal abscissa value. More... | |
| double | getX (const double x) const |
| Get normalised abscissa value. More... | |
| void | reset () |
| Reset. More... | |
| void | set (const double xmin, const double xmax) |
| Set abscissa values. More... | |
| template<class T > | |
| void | set (T __begin, T __end) |
| Set abscissa values. More... | |
Protected Attributes | |
| double | xmin |
| minimal abscissa More... | |
| double | xmax |
| maximal abscissa More... | |
Friends | |
| std::istream & | operator>> (std::istream &in, JLegendre_t &object) |
| Read Legendre polynome from input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JLegendre_t &object) |
| Write Legendre polynome to output. More... | |
Base class for Legendre polynome.
Definition at line 26 of file JLegendre.hh.
| typedef std::vector<JOrdinate_t>::const_iterator JMATH::JLegendre_t< JOrdinate_t >::const_iterator |
Definition at line 29 of file JLegendre.hh.
| typedef std::vector<JOrdinate_t>::iterator JMATH::JLegendre_t< JOrdinate_t >::iterator |
Definition at line 30 of file JLegendre.hh.
| typedef std::vector<JOrdinate_t>::const_reverse_iterator JMATH::JLegendre_t< JOrdinate_t >::const_reverse_iterator |
Definition at line 31 of file JLegendre.hh.
| typedef std::vector<JOrdinate_t>::reverse_iterator JMATH::JLegendre_t< JOrdinate_t >::reverse_iterator |
Definition at line 32 of file JLegendre.hh.
|
inline |
|
inline |
Constructor.
| xmin | minimal abscissa value |
| xmax | maximal abscissa value |
Definition at line 50 of file JLegendre.hh.
|
inlinevirtual |
|
pure virtual |
Function value.
| x | abscissa value |
Implemented in JMATH::JLegendre< JOrdinate_t,(size_t)-1 >, and JMATH::JLegendre< JQuaternion3D,(size_t)-1 >.
|
inline |
Function value.
| x | abscissa value |
Definition at line 79 of file JLegendre.hh.
|
inline |
Get minimal abscissa value.
Definition at line 90 of file JLegendre.hh.
|
inline |
Get maximal abscissa value.
Definition at line 101 of file JLegendre.hh.
|
inline |
Get normalised abscissa value.
| x | abscissa value |
Definition at line 113 of file JLegendre.hh.
|
inline |
Reset.
Definition at line 122 of file JLegendre.hh.
|
inline |
Set abscissa values.
| xmin | minimal abscissa value |
| xmax | maximal abscissa value |
Definition at line 136 of file JLegendre.hh.
|
inline |
Set abscissa values.
The template argument T refers to an iterator of a data structure which should have the following data member:
| __begin | begin of data |
| __end | end of data |
Definition at line 155 of file JLegendre.hh.
|
friend |
Read Legendre polynome from input.
| in | input stream |
| object | Legendre polynome |
Definition at line 174 of file JLegendre.hh.
|
friend |
Write Legendre polynome to output.
| out | output stream |
| object | Legendre polynome |
Definition at line 193 of file JLegendre.hh.
|
protected |
minimal abscissa
Definition at line 204 of file JLegendre.hh.
|
protected |
maximal abscissa
Definition at line 205 of file JLegendre.hh.
1.8.5