|
bpp-core3
3.0.0
|
This class is a data structure to specify a set of parameter values (most likely for evaluation by a Function) More...
#include <Bpp/Numeric/Function/FunctionTools.h>
Collaboration diagram for bpp::ParameterGrid:Public Member Functions | |
| ParameterGrid () | |
| virtual | ~ParameterGrid () |
| void | addDimension (const std::string &name, const Vdouble &values) |
| Add a new dimension (parameter name + corresponding values). More... | |
| const std::vector< std::string > & | getDimensionNames () const |
| const std::string & | getDimensionName (unsigned int i) const |
| size_t | getNumberOfDimensions () const |
| size_t | getTotalNumberOfPoints () const |
| const VVdouble & | getPoints () const |
| const Vdouble & | getPointsForDimension (unsigned int i) const |
| const Vdouble & | getPointsForDimension (const std::string &name) const |
Private Attributes | |
| std::vector< std::string > | names_ |
| VVdouble | grid_ |
This class is a data structure to specify a set of parameter values (most likely for evaluation by a Function)
Definition at line 20 of file FunctionTools.h.
|
inline |
Definition at line 27 of file FunctionTools.h.
|
inlinevirtual |
Definition at line 28 of file FunctionTools.h.
References addDimension().
| void ParameterGrid::addDimension | ( | const std::string & | name, |
| const Vdouble & | values | ||
| ) |
Add a new dimension (parameter name + corresponding values).
| name | The name of the dimension (parameter name). |
| values | The values the parameter will take. |
| Exception | in case the dimension is note valid (duplicated parameter name for instance). |
Definition at line 14 of file FunctionTools.cpp.
Referenced by ~ParameterGrid().
|
inline |
Definition at line 42 of file FunctionTools.h.
Referenced by bpp::FunctionTools::computeGrid().
|
inline |
Definition at line 40 of file FunctionTools.h.
References names_.
Referenced by bpp::FunctionTools::computeGrid().
|
inline |
Definition at line 48 of file FunctionTools.h.
References getTotalNumberOfPoints().
Referenced by bpp::FunctionTools::computeGrid().
|
inline |
Definition at line 55 of file FunctionTools.h.
References getPointsForDimension(), and grid_.
Referenced by bpp::FunctionTools::computeGrid().
| const Vdouble & ParameterGrid::getPointsForDimension | ( | unsigned int | i | ) | const |
Definition at line 34 of file FunctionTools.cpp.
Referenced by bpp::FunctionTools::computeGrid(), and getPoints().
| const Vdouble & ParameterGrid::getPointsForDimension | ( | const std::string & | name | ) | const |
Definition at line 24 of file FunctionTools.cpp.
| size_t ParameterGrid::getTotalNumberOfPoints | ( | ) | const |
Definition at line 41 of file FunctionTools.cpp.
Referenced by bpp::FunctionTools::computeGrid(), and getNumberOfDimensions().
|
private |
Definition at line 24 of file FunctionTools.h.
Referenced by getPoints().
|
private |
Definition at line 23 of file FunctionTools.h.
Referenced by getDimensionNames().