Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
CustomVector.h
1
#pragma once
2
#include <vector>
3
4
template
<
typename
T>
5
void
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
}
src
cpp
benders
benders_core
include
antares-xpansion
benders
benders_core
CustomVector.h
Generated by
1.12.0