Difference between revisions of "Ttclass/dot.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise remaining wiki page to current Spinach source header)
(Restore pre-bulk-edit wiki content)
Line 1: Line 1:
 
{{DISPLAYTITLE:ttclass/dot.m}} __NOTOC__
 
{{DISPLAYTITLE:ttclass/dot.m}} __NOTOC__
  
−
Dot product of TT representations of matrices.
+
Dot product of TT representations of matrices. Syntax:
  
−
==Syntax==
 
  
−
c=dot(a,b)
+
    c=dot(a,b)
  
 
==Arguments==
 
==Arguments==
  
−
a,b  - tensor train objects representing numerical
+
a,b  - tensor train objects representing numerical
 
           arrays of consistent dimensions and having
 
           arrays of consistent dimensions and having
 
           the same internal topology
 
           the same internal topology
Line 15: Line 14:
 
==Outputs==
 
==Outputs==
  
−
c    - inner product of a and b
+
c    - inner product of a and b
  
 
  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


Dot product of TT representations of matrices. Syntax:


    c=dot(a,b)

Arguments

a,b - tensor train objects representing numerical

          arrays of consistent dimensions and having
          the same internal topology

Outputs

c - inner product of a and b

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