ttclass/rand.m
Generates a tensor train representation of a matrix with random tensor train cores, same physical index topology as the tensor train supplied, and user-specified bond ranks.
Syntax
tt=rand(tt,ttrank)
Arguments
tt - a tensor train object
ttrank - bond rank, a positive integer
Outputs
tt - a tensor train object
See also
ttclass.m, ttclass/unit_like.m, ttclass/size.m, Tensor train functions
Version 2.1, authors: Dmitry Savostyanov, Ilya Kuprov