22#ifndef quantlib_market_model_utilities_hpp
23#define quantlib_market_model_utilities_hpp
31 void mergeTimes(
const std::vector<std::vector<Time> >& times,
32 std::vector<Time>& mergedTimes,
33 std::vector<std::valarray<bool> >& isPresent);
41 std::valarray<bool>
isInSubset(
const std::vector<Time>& set,
42 const std::vector<Time>& subset);
47 std::vector<Time>& taus);
std::valarray< bool > isInSubset(const std::vector< Time > &set, const std::vector< Time > &subset)
void mergeTimes(const std::vector< std::vector< Time > > ×, std::vector< Time > &mergedTimes, std::vector< std::valarray< bool > > &isPresent)
void checkIncreasingTimesAndCalculateTaus(const std::vector< Time > ×, std::vector< Time > &taus)
void checkIncreasingTimes(const std::vector< Time > ×)
check for strictly increasing times, first time greater than zero