1 #ifndef GRADIENTPIECE_H_
2 #define GRADIENTPIECE_H_
14 unsigned int const inWrt);
25 unsigned int const inputDimWrt,
27 Eigen::VectorXd
const& vec)
override;
30 unsigned int const outWrt);
33 unsigned int const inWrt);
static Eigen::VectorXi GetOutputSizes(std::shared_ptr< ModPiece > const &basePiece, unsigned int const inWrt)
virtual void EvaluateImpl(ref_vector< Eigen::VectorXd > const &input) override
static Eigen::VectorXi GetInputSizes(std::shared_ptr< ModPiece > const &basePiece, unsigned int const outWrt)
virtual void ApplyJacobianImpl(unsigned int const outputDimWrt, unsigned int const inputDimWrt, ref_vector< Eigen::VectorXd > const &input, Eigen::VectorXd const &vec) override
GradientPiece(std::shared_ptr< ModPiece > const &basePieceIn, unsigned int const outWrt, unsigned int const inWrt)
std::shared_ptr< ModPiece > BasePiece()
const unsigned int outWrt
virtual ~GradientPiece()=default
std::shared_ptr< ModPiece > basePiece
Provides an abstract interface for defining vector-valued model components.
std::vector< std::reference_wrapper< const T > > ref_vector
A vector of references to something ...