Difference between revisions of "Ttclass/mtimes.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Repair ttclass function page template)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     c=mtimes(a,b)
 
     c=mtimes(a,b)
  
−
==Arguments==
+
==Parameters==
  
 
     a - a scalar or a tensor train
 
     a - a scalar or a tensor train

Revision as of 18:53, 5 June 2026

Performs tensor train multiplication followed by a shrink.

Syntax

    c=mtimes(a,b)

Parameters

    a - a scalar or a tensor train

    b - a scalar, a tensor train, or a full matrix

Outputs

    c - a tensor train object

See also

ttclass.m, ttclass/kron.m, ttclass/plus.m, Tensor train functions

Version 2.1, authors: Dmitry Savostyanov, Ilya Kuprov