MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / toStandardVector

Function toStandardVector

src/utilities/data/Vector.cpp:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36std::vector<double> toStandardVector(const Vector& values) {
37 size_t n = values.size();
38 std::vector<double> result(n);
39 for (size_t i = 0; i < n; ++i) {
40 result[i] = values[i];
41 }
42 return result;
43}
44
45bool operator==(const Vector& lhs, const Vector& rhs) {
46 bool result = false;

Callers 6

valuesMethod · 0.85
toGltfModelMethod · 0.85
insertTimeSeriesDataMethod · 0.85
TEST_FFunction · 0.85
SetUpTestSuiteMethod · 0.85
TEST_FFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by 3

TEST_FFunction · 0.68
SetUpTestSuiteMethod · 0.68
TEST_FFunction · 0.68