TrainSum.shift(dim, shift)

Generic shift matrix. Positive shifts correspond to shifts to the right, negative shifts correspond to shifts to the left. If circular is set to True the shift matrix will be circular. The resulting tensor train is rank 2.

Parameters:
Return type:

TensorTrain