Get vector of y-values
| 196 | |
| 197 | // Get vector of y-values |
| 198 | std::vector<double> DataTable::getVectorY() const |
| 199 | { |
| 200 | std::vector<double> y; |
| 201 | for (std::multiset<DataPoint>::const_iterator it = cbegin(); it != cend(); ++it) |
| 202 | { |
| 203 | y.push_back(it->getY()); |
| 204 | } |
| 205 | return y; |
| 206 | } |
| 207 | |
| 208 | DataTable operator+(const DataTable &lhs, const DataTable &rhs) |
| 209 | { |