Difference between revisions of "Ttclass/diag.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Normalise remaining wiki page to current Spinach source header) |
||
| Line 1: | Line 1: | ||
| − | + | {{DISPLAYTITLE:ttclass/diag.m}} __NOTOC__ | |
| + | Mimics the diag behavior for tensor train matrix. | ||
| + | ==Syntax== | ||
| − | + | tt=diag(tt) | |
| − | |||
| − | |||
| − | |||
Revision as of 14:13, 5 April 2026
Mimics the diag behavior for tensor train matrix.
Syntax
tt=diag(tt)