Info on (floating-point) position in an array or StepInterval.
More...
List of all members.
Public Member Functions |
| | IndexInfo (int i, bool r=true, bool u=false) |
| template<class X , class Y > |
| | IndexInfo (const StepInterval< X > &s, Y y) |
| template<class X , class Y > |
| | IndexInfo (const SamplingData< X > &s, Y y, int len) |
| template<class T > |
| | IndexInfo (const T *, int sz, T val) |
| template<class X , class Y > |
| void | set (const StepInterval< X > &, Y) |
| template<class X , class Y > |
| void | set (const SamplingData< X > &, Y, int length) |
Public Attributes |
| int | nearest_ |
| bool | roundedtolow_ |
| bool | inundef_ |
Detailed Description
Info on (floating-point) position in an array or StepInterval.
Constructor & Destructor Documentation
| IndexInfo::IndexInfo |
( |
int |
i, |
|
|
bool |
r = true, |
|
|
bool |
u = false | |
|
) |
| | [inline] |
template<class X , class Y >
| IndexInfo::IndexInfo |
( |
const StepInterval< X > & |
s, |
|
|
Y |
y | |
|
) |
| | [inline] |
template<class X , class Y >
| IndexInfo::IndexInfo |
( |
const SamplingData< X > & |
s, |
|
|
Y |
y, |
|
|
int |
len | |
|
) |
| | [inline] |
template<class T >
| IndexInfo::IndexInfo |
( |
const T * |
arr, |
|
|
int |
sz, |
|
|
T |
val | |
|
) |
| | [inline] |
Member Function Documentation
template<class X , class Y >
| void IndexInfo::set |
( |
const StepInterval< X > & |
intv, |
|
|
Y |
y | |
|
) |
| | [inline] |
template<class X , class Y >
| void IndexInfo::set |
( |
const SamplingData< X > & |
sd, |
|
|
Y |
y, |
|
|
int |
length | |
|
) |
| | [inline] |
Member Data Documentation