hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::Concat_func< parent, arg_types > Class Template Reference

concatenates the output of a vector of function-type objects (derived from Output_data) More...

#include <Output_data.hpp>

Inheritance diagram for hexed::Concat_func< parent, arg_types >:

Public Member Functions

 Concat_func (std::vector< const parent * > fs)
 
int n_var (int n_dim) const override
 sum of numbers of variables of pointed-to functions
 
std::string variable_name (int n_dim, int i_var) const override
 forwards to whichever function object is responsible for the i_varth overall variable
 
std::vector< double > operator() (arg_types... args) const override
 calls all function objects this points to and concatenates their output
 

Detailed Description

template<typename parent, typename... arg_types>
class hexed::Concat_func< parent, arg_types >

concatenates the output of a vector of function-type objects (derived from Output_data)

Parameters
parentclass to inherit from (should derive from Output_data)
arg_typesshould be the parameters of parent::operator().

Constructor & Destructor Documentation

◆ Concat_func()

template<typename parent , typename... arg_types>
hexed::Concat_func< parent, arg_types >::Concat_func ( std::vector< const parent * > fs)
inline
Parameters
fslist of function objects to concatenate the output of

The documentation for this class was generated from the following file: