ttclass/rand.m

From Spinach Documentation Wiki
Revision as of 17:26, 5 June 2026 by Kuprov (talk | contribs) (Add missing Version/authors metadata and remove raw author emails)
Jump to: navigation, search


Generates tensor train matrix with random entries, same physical index topology at the tensor train supplied, and specified TT-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