TrainSum.slice_vector(dim, slc)

Binary vector defined by a slice. Constructs binary vector, where all entries defined by the slice are 1 and all other are zero, as quantics tensor train.

Parameters:
Return type:

TensorTrain