Difference between revisions of "Ttclass/dot.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Normalise remaining wiki page to current Spinach source header)
Line 1: Line 1:
 
{{DISPLAYTITLE:ttclass/dot.m}} __NOTOC__
 
{{DISPLAYTITLE:ttclass/dot.m}} __NOTOC__
  
Dot product of TT representations of matrices. Syntax:
+
Dot product of TT representations of matrices.
  
 +
==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 14: Line 15:
 
==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:13, 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