final ipi11

This commit is contained in:
2020-01-17 01:56:24 +01:00
parent 7106f92c51
commit b425367304
4 changed files with 367 additions and 1 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ std::ostream& operator<<(std::ostream& os, const Vector<K,N>& v) {
return os;
}
// scalar multiplication
// scalar multiplication for vector * scalar
template <class K, size_t N, class K2>
Vector<K, N> operator*(const Vector<K,N>& v, const K2 k) {
// multiply a scalar value using the generic map function