8 unsigned int numRepeat) :
ModPiece(int(vectorDim)*Eigen::VectorXi::Ones(1),
9 int(vectorDim*numRepeat)*Eigen::VectorXi::Ones(1)),
17 unsigned int vectorDim = inputs.at(0).get().size();
20 outputs.at(0).segment(i*vectorDim, vectorDim) = inputs.at(0).get();
Provides an abstract interface for defining vector-valued model components.
std::vector< Eigen::VectorXd > outputs
const Eigen::VectorXi outputSizes
ReplicateOperator(unsigned int vectorDim, unsigned int numRepeat)
virtual void EvaluateImpl(muq::Modeling::ref_vector< Eigen::VectorXd > const &inputs) override
std::vector< std::reference_wrapper< const T > > ref_vector
A vector of references to something ...