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

Method averageValue

src/utilities/data/TimeSeries.cpp:805–810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803 }
804
805 double TimeSeries_Impl::averageValue() const {
806 if (!m_secondsFromStart.empty()) {
807 return integrate() / m_secondsFromStart.back();
808 }
809 return 0;
810 }
811
812} // namespace detail
813

Callers 1

TEST_FFunction · 0.80

Calls 1

emptyMethod · 0.45

Tested by 1

TEST_FFunction · 0.64