Ttclass/rand.m

From Spinach Documentation Wiki
Revision as of 15:04, 5 April 2026 by Kuprov (talk | contribs) (Sync syntax/arguments/outputs with current Spinach source)
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)