MUQ  0.4.3
ProductPiece.h
Go to the documentation of this file.
1 #ifndef PRODUCTPIECE_H_
2 #define PRODUCTPIECE_H_
3 
5 
6 namespace muq {
7  namespace Modeling {
8 
13  class ProductPiece: public ModPiece {
14  public:
15 
16  ProductPiece(unsigned int vectorDim);
17 
18  private:
19 
20  virtual void EvaluateImpl(muq::Modeling::ref_vector<Eigen::VectorXd> const& inputs) override;
21 
22  }; // class ProductPiece
23 
24  } // namespace Modeling
25 } // namespace muq
26 
27 #endif
Provides an abstract interface for defining vector-valued model components.
Definition: ModPiece.h:148
Returns the components in a single vector input.
Definition: ProductPiece.h:13
ProductPiece(unsigned int vectorDim)
Definition: ProductPiece.cpp:5
virtual void EvaluateImpl(muq::Modeling::ref_vector< Eigen::VectorXd > const &inputs) override
Definition: ProductPiece.cpp:7
std::vector< std::reference_wrapper< const T > > ref_vector
A vector of references to something ...
Definition: WorkPiece.h:37