Linear 1D coordinate mapper.
More...
#include <coordmapper.hpp>
Linear 1D coordinate mapper.
Coordinate transformation is done like
x_new = xx * x + x0;
Coordmapper1D::Coordmapper1D |
( |
| ) |
|
|
inline |
Default constructor for unitary transformation.
Coordmapper1D::Coordmapper1D |
( |
double |
xx, |
|
|
double |
x0 |
|
) |
| |
|
inline |
Constructor for fully defined transformation.
void Coordmapper1D::debug_print |
( |
std::ostream & |
os | ) |
const |
|
inline |
void Coordmapper1D::inv_transform |
( |
double & |
xout, |
|
|
const double & |
xin |
|
) |
| const |
|
inline |
Make inverse transformation for coordinate x.
void Coordmapper1D::inv_transform |
( |
double & |
x | ) |
const |
|
inline |
Make inverse transformation for coordinate x.
void Coordmapper1D::set_transformation |
( |
double |
xx, |
|
|
double |
x0 |
|
) |
| |
|
inline |
Set transformation coefficients.
void Coordmapper1D::transform |
( |
double & |
xout, |
|
|
const double & |
xin |
|
) |
| const |
|
inline |
Make transformation from coordinates xin to coordinates xout.
void Coordmapper1D::transform |
( |
double & |
x | ) |
const |
|
inline |
Make transformation from coordinates xin to coordinates xout.
The documentation for this class was generated from the following file: