MCPcopy Create free account
hub / github.com/bgrimstad/splinter / getVectorY

Method getVectorY

src/datatable.cpp:198–206  ·  view source on GitHub ↗

Get vector of y-values

Source from the content-addressed store, hash-verified

196
197// Get vector of y-values
198std::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
208DataTable operator+(const DataTable &lhs, const DataTable &rhs)
209{

Callers

nothing calls this directly

Calls 1

getYMethod · 0.80

Tested by

no test coverage detected