Home > manopt > manifolds > ttfixedrank > TTeMPS_1.1 > @TTeMPS_block > minus.m

minus

PURPOSE ^

MINUS Substraction of two TT/MPS block-mu tensors.

SYNOPSIS ^

function z = minus( x, y )

DESCRIPTION ^

MINUS Substraction of two TT/MPS block-mu tensors.
   Z = MINUS(X,Y) substracts two TT/MPS tensors. The rank of the resulting
   tensor is the sum of the individual ranks.

   See also PLUS, UMINUS.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function z = minus( x, y )
0002     %MINUS Substraction of two TT/MPS block-mu tensors.
0003     %   Z = MINUS(X,Y) substracts two TT/MPS tensors. The rank of the resulting
0004     %   tensor is the sum of the individual ranks.
0005     %
0006     %   See also PLUS, UMINUS.
0007 
0008     %   TTeMPS Toolbox.
0009     %   Michael Steinlechner, 2013-2016
0010     %   Questions and contact: michael.steinlechner@epfl.ch
0011     %   BSD 2-clause license, see LICENSE.txt
0012 
0013     z = plus(x, uminus(y));
0014 
0015 end

Generated on Fri 30-Sep-2022 13:18:25 by m2html © 2005