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

uminus

PURPOSE ^

UMINUS Unary minus.

SYNOPSIS ^

function x = uminus( x )

DESCRIPTION ^

UMINUS Unary minus.
   X = UMINUS(X) returns the negated TTeMPS block-mu tensor X. Only the supercore 
   is touched.

   See also UPLUS.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function x = uminus( x )
0002     %UMINUS Unary minus.
0003     %   X = UMINUS(X) returns the negated TTeMPS block-mu tensor X. Only the supercore
0004     %   is touched.
0005     %
0006     %   See also UPLUS.
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         
0014     x.U{x.mu} = -x.U{x.mu};
0015 end

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