Jpp test-rotations-new
the software that should make you happy
|
Simple data structure for an abstract collection of equidistant abscissa values. More...
#include <JGrid.hh>
Public Types | |
typedef JAbstractCollection< JAbscissa_t >::abscissa_type | abscissa_type |
Public Member Functions | |
JGrid () | |
Default constructor. | |
JGrid (const int nx, const abscissa_type Xmin, const abscissa_type Xmax) | |
Constructor. | |
virtual int | getSize () const override |
Get number of elements. | |
virtual abscissa_type | getX (int index) const override |
Get abscissa value. | |
virtual abscissa_type | getXmin () const override |
Get minimal abscissa value. | |
virtual abscissa_type | getXmax () const override |
Get maximal abscissa value. | |
int | getIndex (typename JClass< abscissa_type >::argument_type x) const |
Get index of given abscissa value. | |
template<class JElement_t , class JDistance_t > | |
const JGrid & | operator() (JCollection< JElement_t, JDistance_t > &collection) const |
Configure collection. | |
bool | is_equal (const JAbstractCollection &collection) const |
Test whether abstract collections are equal. | |
Protected Attributes | |
int | size |
abscissa_type | xmin |
abscissa_type | xmax |
Friends | |
JReader & | operator>> (JReader &in, JGrid< JAbscissa_t > &grid) |
Binary stream input. | |
JWriter & | operator<< (JWriter &out, const JGrid< JAbscissa_t > &grid) |
Binary stream output. | |
std::istream & | operator>> (std::istream &in, JGrid< JAbscissa_t > &grid) |
Read grid from input. | |
std::ostream & | operator<< (std::ostream &out, const JGrid< JAbscissa_t > &grid) |
Write grid to output. | |
Simple data structure for an abstract collection of equidistant abscissa values.
This class implements the JAbstractCollection interface.
JAbstractCollection<JAbscissa_t>::abscissa_type JTOOLS::JGrid< JAbscissa_t >::abscissa_type |
|
inline |
|
inline |
|
inlineoverridevirtual |
Get number of elements.
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Get minimal abscissa value.
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
|
inlineoverridevirtual |
Get maximal abscissa value.
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
|
inline |
|
inline |
|
inlineinherited |
Test whether abstract collections are equal.
collection | abstract collection |
Definition at line 72 of file JAbstractCollection.hh.
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |