31 template<
class ScalarType>
36 for (
const auto e : ilist)
44 return MakeVectorX<float>(ilist);
47 template<
class ScalarType,
class...Ts>
50 return MakeVectorX<ScalarType>(std::initializer_list<ScalarType> {std::forward<Ts>(ts)...});
52 template<
class ScalarType,
class...Ts>
55 return MakeVectorX<ScalarType>(std::initializer_list<ScalarType> {
static_cast<ScalarType
>(std::forward<Ts>(ts))...});
57 template<
class ScalarType,
class...Ts>
60 return MakeVectorX<ScalarType>(std::initializer_list<ScalarType> {
static_cast<ScalarType
>(std::forward<Ts>(ts))...});
67 for (
const auto e : vec)
77 return MakeVectorX<float>(f1);
81 return MakeVectorX<float>(f1, f2);
85 return MakeVectorX<float>(f1, f2, f3);
89 return MakeVectorX<float>(f1, f2, f3, f4);
93 return MakeVectorX<float>(f1, f2, f3, f4, f5);
97 return MakeVectorX<float>(f1, f2, f3, f4, f5, f6);
101 return MakeVectorX<float>(f1, f2, f3, f4, f5, f6, f7);
105 return MakeVectorX<float>(f1, f2, f3, f4, f5, f6, f7, f8);
107 inline Eigen::Matrix<float, Eigen::Dynamic, 1> MakeVectorXf(
float f1,
float f2,
float f3,
float f4,
float f5,
float f6,
float f7,
float f8,
float f9)
109 return MakeVectorX<float>(f1, f2, f3, f4, f5, f6, f7, f8, f9);
111 inline Eigen::Matrix<float, Eigen::Dynamic, 1> MakeVectorXf(
float f1,
float f2,
float f3,
float f4,
float f5,
float f6,
float f7,
float f8,
float f9,
float f10)
113 return MakeVectorX<float>(f1, f2, f3, f4, f5, f6, f7, f8, f9, f10);