
    0.1338
</pre><h2 id="24">Basic operations (uplus, uminus, mtimes) for a ttensor.</h2><pre class="codeinput">X = ttensor(tenrand([2 2 2]),{rand(3,2),rand(1,2),rand(2,2)}) <span class="comment">%&lt;-- Data.</span>
+X <span class="comment">%&lt;-- Calls uplus.</span>
</pre><pre class="codeoutput">X is a ttensor of size 3 x 1 x 2
	X.core is a tensor of size 2 x 2 x 2
		X.core(:,:,1) = 
	    0.5548    0.4508
	    0.1210    0.7159
		X.core(:,:,2) = 
	    0.8928    0.2548
	    0.2731    0.8656
	X.U{1} = 
		 