50 SplitVector(std::vector<int>
const&
ind,std::vector<int>
const&
size,
unsigned int const insize);
57 SplitVector(Eigen::VectorXi
const&
ind, Eigen::VectorXi
const&
size,
unsigned int const insize);
76 virtual void ApplyHessianImpl(
unsigned int const outwrt,
unsigned int const inwrt1,
unsigned int const inwrt2,
ref_vector<Eigen::VectorXd> const& inputs, Eigen::VectorXd
const& sens, Eigen::VectorXd
const& targ)
override;
78 const Eigen::VectorXi
ind;
80 const Eigen::VectorXi
size;
Provides an abstract interface for defining vector-valued model components.
Provides a mechanism for splitting a vector into multiple pieces.
virtual ~SplitVector()=default
SplitVector(std::vector< int > const &ind, std::vector< int > const &size, unsigned int const insize)
virtual void JacobianImpl(unsigned int const outwrt, unsigned int const inwrt, ref_vector< Eigen::VectorXd > const &inputs) override
const Eigen::VectorXi size
const Eigen::VectorXi ind
virtual void EvaluateImpl(ref_vector< Eigen::VectorXd > const &inputs) override
virtual void GradientImpl(unsigned int const outwrt, unsigned int const inwrt, ref_vector< Eigen::VectorXd > const &inputs, Eigen::VectorXd const &sens) override
Eigen::VectorXi StartIndices() const
virtual void ApplyJacobianImpl(unsigned int const outwrt, unsigned int const inwrt, ref_vector< Eigen::VectorXd > const &inputs, Eigen::VectorXd const &targ) override
virtual void ApplyHessianImpl(unsigned int const outwrt, unsigned int const inwrt1, unsigned int const inwrt2, ref_vector< Eigen::VectorXd > const &inputs, Eigen::VectorXd const &sens, Eigen::VectorXd const &targ) override
std::vector< std::reference_wrapper< const T > > ref_vector
A vector of references to something ...