Difference between revisions of "Ttclass/rand.m"
(Normalise remaining wiki page to current Spinach source header) |
(Restore pre-bulk-edit wiki content) |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:ttclass/rand.m}} __NOTOC__ | {{DISPLAYTITLE:ttclass/rand.m}} __NOTOC__ | ||
| − | Generates | + | Generates tensor train matrix with random entries, same physical index |
| − | + | topology at the tensor train supplied, and specified TT-ranks. Syntax: | |
| − | train supplied, and | ||
| − | |||
| − | + | tt=rand(tt,ttrank) | |
==Arguments== | ==Arguments== | ||
| − | + | tt - a tensor train object | |
ttrank - bond rank, a positive integer | ttrank - bond rank, a positive integer | ||
| Line 17: | Line 15: | ||
==Outputs== | ==Outputs== | ||
| − | + | tt - a tensor train object | |
d.savostyanov@soton.ac.uk | d.savostyanov@soton.ac.uk | ||
ilya.kuprov@weizmann.ac.il | ilya.kuprov@weizmann.ac.il | ||
Revision as of 15:50, 5 April 2026
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