ttclass/rand.m

From Spinach Documentation Wiki
Revision as of 12:16, 25 April 2026 by Kuprov (talk | contribs) (Add See also section to function-description page)
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

d.savostyanov@soton.ac.uk
ilya.kuprov@weizmann.ac.il

See also

ttclass.m, ttclass/unit_like.m, ttclass/size.m, Tensor train functions