Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
CustomVector.h
1#pragma once
2#include <vector>
3
4template <typename T>
5void AddVectors(std::vector<T>& a, const std::vector<T>& b) {
6 if (a.size() == b.size()) {
7 std::transform(a.begin(), a.end(), b.begin(), a.begin(), std::plus<T>());
8 }
9}