10 for(
unsigned int i=0; i<inputs.size(); ++i ) {
11 out.segment(ind, inputs[i].
get().size()) = inputs[i].get();
12 ind += inputs[i].get().size();
23 const unsigned int ind =
inputSizes.segment(0, inwrt).sum();
30 const unsigned int ind =
inputSizes.segment(0, inwrt).sum();
37 const unsigned int ind =
inputSizes.segment(0, inwrt).sum();
virtual void GradientImpl(unsigned int const outwrt, unsigned int const inwrt, ref_vector< Eigen::VectorXd > const &inputs, Eigen::VectorXd const &sens) override
virtual void ApplyJacobianImpl(unsigned int const outwrt, unsigned int const inwrt, ref_vector< Eigen::VectorXd > const &inputs, Eigen::VectorXd const &targ) override
virtual void JacobianImpl(unsigned int const outwrt, unsigned int const inwrt, ref_vector< Eigen::VectorXd > const &inputs) override
CombineVectors(Eigen::VectorXi const &inputSizes)
virtual void EvaluateImpl(ref_vector< Eigen::VectorXd > const &inputs) override
Provides an abstract interface for defining vector-valued model components.
const Eigen::VectorXi inputSizes
std::vector< Eigen::VectorXd > outputs
const Eigen::VectorXi outputSizes
Eigen::VectorXd jacobianAction
std::vector< std::reference_wrapper< const T > > ref_vector
A vector of references to something ...
auto get(const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key())