tensorProduct function

Tensor product for univariate functions on one-dimensional domains