SyTen

◆ kronVector() [2/3]

template<typename U >
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.

Parameters
vvector of N-vectors
cvector
Returns
a vector of N+1-vectors w = v[i]+{c[j]}

References std::vector< T >::begin(), std::copy(), std::vector< T >::push_back(), and std::vector< T >::size().

+ Here is the call graph for this function: