|
HyperspaceExplorer 0.7.1
|
Class that applies a function on every value in a MultiDimensionalVector. 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 >, dimension > &values, VecMath::Vector< P, NUM > ¤t_x) |
| Loop over one dimension, if necessary loop over lower dimensions too. | |
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. | |
Class that applies a function on every value in a MultiDimensionalVector.
| N | The dimension of the definition vector space. |
| P | The dimension of the parameter vector space. |
| dimension | The dimension (in parameter vector space) we currently loop over. |
| NUM | The numeric type managed by the grid. |
1.7.4
-
Hosted by