27 virtual void GradientImpl(
unsigned int const outputDimWrt,
28 unsigned int const inputDimWrt,
30 Eigen::VectorXd
const& sensitivity)
override;
32 virtual void JacobianImpl(
unsigned int const outputDimWrt,
33 unsigned int const inputDimWrt,
37 unsigned int const inputDimWrt,
39 Eigen::VectorXd
const& vec)
override;
42 unsigned int const inWrt1,
43 unsigned int const inWrt2,
45 Eigen::VectorXd
const& sens,
46 Eigen::VectorXd
const& vec)
override;
Provides an abstract interface for defining vector-valued model components.
Componentwise addition of two or more vectors.
virtual void GradientImpl(unsigned int const outputDimWrt, unsigned int const inputDimWrt, ref_vector< Eigen::VectorXd > const &input, Eigen::VectorXd const &sensitivity) override
virtual void ApplyJacobianImpl(unsigned int const outputDimWrt, unsigned int const inputDimWrt, ref_vector< Eigen::VectorXd > const &input, Eigen::VectorXd const &vec) override
SumPiece(unsigned int dim, unsigned int numInputs=2)
virtual void ApplyHessianImpl(unsigned int const outWrt, unsigned int const inWrt1, unsigned int const inWrt2, ref_vector< Eigen::VectorXd > const &input, Eigen::VectorXd const &sens, Eigen::VectorXd const &vec) override
virtual ~SumPiece()=default
virtual void EvaluateImpl(ref_vector< Eigen::VectorXd > const &input) override
virtual void JacobianImpl(unsigned int const outputDimWrt, unsigned int const inputDimWrt, ref_vector< Eigen::VectorXd > const &input) override
int numInputs
The number of inputs.
std::vector< std::reference_wrapper< const T > > ref_vector
A vector of references to something ...