Gives access to a std::vector of std::pair<size_t, size_t> representing blocks of input Those blocks are needed even if the function is not differentiable, making it easier for us to define it in a exterior class to then use it transparently. More...
#include <roboptim/core/detail/structured-input.hh>
Public Attributes | |
std::vector< std::pair< size_t, size_t > > | blocks |
stores the blocks defined by the function as a pair of integers. More... | |
Gives access to a std::vector of std::pair<size_t, size_t> representing blocks of input Those blocks are needed even if the function is not differentiable, making it easier for us to define it in a exterior class to then use it transparently.
std::vector<std::pair<size_t, size_t> > roboptim::detail::BlockProvider::blocks |
stores the blocks defined by the function as a pair of integers.
The first element is the first index of the block, the second element repersetn the total size of the block.
Referenced by roboptim::detail::StructuredInput< FuncType >::addBlock(), roboptim::detail::StructuredInput< FuncType >::getInputBlock(), and roboptim::detail::StructuredInput< FuncType >::getNumBlocks().