TrainSum.toeplitz(dim, mode)

Three dimensional Toeplitz tensor. The tensor can be used to create toeplitz matrices by contracting the first dimension with a vector. With mode=’full’ the resulting matrix is a full toeplitz matrix, where every diagonal is set one value of the vector. ‘lower’ and ‘upper’ correspond to lower and upper triangular toeplitz matrices. mode=’circular’ results in the sum of the lower and upper triangular toeplitz matrices. The resulting tensor train is rank 2.

Parameters:
  • dim (Dimension)

  • mode (Literal['full', 'lower', 'upper', 'circular'])

Return type:

TensorTrain