SyTen

◆ kronVector() [1/3]

template<typename U , std::size_t rank>
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.

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 rank().

+ Here is the call graph for this function: