#include <TensorInitializer.h>
◆ InitList
template<typename Derived >
◆ run()
template<typename Derived >
51 for (
const auto&
v : vals) {
52 (*indices)[traits<Derived>::NumDimensions - 1] =
i++;
53 tensor.coeffRef(*indices) =
v;
Array< int, Dynamic, 1 > v
Definition: Array_initializer_list_vector_cxx11.cpp:1
int i
Definition: BiCGSTAB_step_by_step.cpp:9
References Eigen::TensorEvaluator< Derived, Device >::coeffRef(), i, and v.
The documentation for this struct was generated from the following file: