std::vector< std::vector< U > > syten::kronVector | ( | std::vector< std::vector< U > > const & | v, |
std::vector< U > const & | c | ||
) |
Kronecker product of a vector of N-vectors and a vector.
v | vector of N-vectors |
c | vector |
w = v[i]+{c[j]}
References std::vector< T >::begin(), std::copy(), std::vector< T >::push_back(), and std::vector< T >::size().