Template Function ADS::trappingRainWater

Function Documentation

template<class T>
T ADS::trappingRainWater(const std::vector<T> &h)

the water held by the columns of heights h, no walls outside

Post:

not negative