This is the basic C++ program of C++ armadillo library which shows how to find tensor product of the given two input matrix. It can be carried out by the help of inbuilt function "kron" in armadillo library.It is Kronecker tensor product. "kron" function takes two parametres that is two input matrices. In mathematics, thetensor productV x(circle) W of two vector spaces V and W (over the same field) is itself a vector space, endowed with the operation of bilinear composition, denoted by x(circle), from ordered pairs in the CartesianproductV x W to V x(circle) W in a way that generalizes the outerproduct.
Comments