HyperspaceExplorer 0.7.1
|
Specialization to end recursion. More...
#include <LoopHelper.h>
Public Member Functions | |
LoopHelper (const VecMath::Vector< P, NUM > &x_min, const VecMath::Vector< P, NUM > &x_max, const VecMath::Vector< P, unsigned > &grid_size, std::shared_ptr< ParametricFunction< N, P, NUM > > f) | |
Set the function, boundaries and grid size we're working with. | |
void | recalculateOneDimensionOfGrid (VecMath::MultiDimensionalVector< VecMath::Vector< N, NUM >, 1 > &values, VecMath::Vector< P, NUM > ¤t_x) |
Loop over one dimension, evaluating _f and filling values . | |
Private Attributes | |
VecMath::Vector< P, NUM > | _x_min |
Lower boundary of grid on which the ParametricFunction is applied. | |
VecMath::Vector< P, NUM > | _x_max |
Upper boundary of grid on which the ParametricFunction is applied. | |
VecMath::Vector< P, unsigned > | _grid_size |
Vector of grid sizes. | |
std::shared_ptr < ParametricFunction< N, P, NUM > > | _f |
The function to be evaluated on every grid point. |
Specialization to end recursion.