std::vector< std::vector< U > > syten::kronVector | ( | std::vector< std::array< U, rank > > const & | v, |
std::vector< U > const & | c | ||
) |
Kronecker product of a vector of rank-arrays 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 rank().