Lines Matching refs:vector
19 #include <vector>
42 for (auto& vector : matrix3X3_) {
43 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; });
51 inline std::vector<double>& operator[](int32_t index)
57 inline const std::vector<double>& operator[](int32_t index) const
70 // Make sure that the vector size is equal than column.
71 std::vector<double> MapScalars(const std::vector<double>& src) const;
73 // Make sure that the vector size is equal than column.
74 bool MapScalars(const std::vector<double>& src, std::vector<double>& result) const;
79 for (auto& vector : matrix3X3_) {
80 std::for_each(vector.begin(), vector.end(),
87 std::vector<std::vector<double>> matrix3X3_ = { DIMENSION, std::vector<double>(DIMENSION, 0.0) };
107 for (auto& vector : Matrix3n_) {
108 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; });
117 inline std::vector<double>& operator[](int32_t index)
123 inline const std::vector<double>& operator[](int32_t index) const
136 // Make sure that the vector size is equal than column.
137 std::vector<double> MapScalars(const std::vector<double>& src) const;
139 // Make sure that the vector size is equal than column.
140 bool MapScalars(const std::vector<double>& src, std::vector<double>& result) const;
145 for (auto& vector : Matrix3n_) {
146 std::for_each(vector.begin(), vector.end(),
153 std::vector<std::vector<double>> Matrix3n_;
174 for (auto& vector : Matrixn3_) {
175 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; });
181 inline std::vector<double>& operator[](int32_t index)
187 inline const std::vector<double>& operator[](int32_t index) const
200 // Make sure that the vector size is equal than column.
201 std::vector<double> MapScalars(const std::vector<double>& src) const;
206 for (auto& vector : Matrixn3_) {
207 std::for_each(vector.begin(), vector.end(),
214 std::vector<std::vector<double>> Matrixn3_;